mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Apply various common one-to-one replacements
More work on common too. network package now done.
This commit is contained in:
1 parent
a0114b5112
commit
a80f724cc2
189 files changed
+1586
-1634
No files matched your search
@@ -61,12 +61,12 @@ public class VoiceConnection extends Thread
|
||||
if(!server.isDedicatedServer() && playerIP.equals("local") && !Mekanism.voiceManager.foundLocal)
|
||||
{
|
||||
Mekanism.voiceManager.foundLocal = true;
|
||||
username = playerMP.getCommandSenderName();
|
||||
username = playerMP.getName();
|
||||
break;
|
||||
}
|
||||
else if(playerIP.equals(socket.getInetAddress().getHostAddress()))
|
||||
{
|
||||
username = playerMP.getCommandSenderName();
|
||||
username = playerMP.getName();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -199,6 +199,6 @@ public class VoiceConnection extends Thread
|
||||
|
||||
public EntityPlayerMP getPlayer()
|
||||
{
|
||||
return server.getConfigurationManager().func_152612_a(username); //TODO getPlayerForUsername
|
||||
return server.getConfigurationManager().getPlayerByUsername(username);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user