mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 22:34:21 +00:00
Remove ~350 unsave casts
This commit is contained in:
1 parent
f1a307ca51
commit
34e81bb65d
87 files changed
+168
-163
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.getPlayerList().getPlayers()).clone());
|
||||
List l = Collections.synchronizedList(new ArrayList<>(server.getPlayerList().getPlayers()));
|
||||
|
||||
for(Object obj : l)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user