Port serverinfo

This commit is contained in:
ThisIsALegitUsername 2022-12-29 15:57:44 +00:00
parent 5dfe0979bf
commit 997bde4ec0

View File

@ -19,8 +19,8 @@ public class ServerInfo extends RenderModule{
}
public String getText(){
if(mc.getNetHandler() != null){
return "[Playing on: " + "Placeholder" + "]";
if(mc.getCurrentServerData() != null){
return "[Playing on: " + mc.getCurrentServerData().serverIP + "]";
}
return "[Playing on: Not connected]";
}