mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
<1000 errors
This commit is contained in:
1 parent
c6a09b5658
commit
af008b9395
99 files changed
+470
-484
No files matched your search
@@ -48,7 +48,7 @@ public class VoiceConnection extends Thread
|
||||
while(username == null && retryCount <= 100)
|
||||
{
|
||||
try {
|
||||
List l = Collections.synchronizedList((List)((ArrayList)server.getConfigurationManager().playerEntityList).clone());
|
||||
List l = Collections.synchronizedList((List)((ArrayList)server.getPlayerList().getPlayerList()).clone());
|
||||
|
||||
for(Object obj : l)
|
||||
{
|
||||
@@ -198,6 +198,6 @@ public class VoiceConnection extends Thread
|
||||
|
||||
public EntityPlayerMP getPlayer()
|
||||
{
|
||||
return server.getConfigurationManager().getPlayerByUsername(username);
|
||||
return server.getPlayerList().getPlayerByUsername(username);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user