Port serverinfo
This commit is contained in:
parent
5dfe0979bf
commit
997bde4ec0
|
@ -19,8 +19,8 @@ public class ServerInfo extends RenderModule{
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getText(){
|
public String getText(){
|
||||||
if(mc.getNetHandler() != null){
|
if(mc.getCurrentServerData() != null){
|
||||||
return "[Playing on: " + "Placeholder" + "]";
|
return "[Playing on: " + mc.getCurrentServerData().serverIP + "]";
|
||||||
}
|
}
|
||||||
return "[Playing on: Not connected]";
|
return "[Playing on: Not connected]";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user