mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Packets should be thread safe now
This commit is contained in:
1 parent
542e806644
commit
e4aed3f7c1
25 files changed
+788
-624
No files matched your search
@@ -4,8 +4,8 @@ import static mekanism.common.block.states.BlockStatePlastic.colorProperty;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -1110,6 +1110,12 @@ public class ClientProxy extends CommonProxy
|
||||
return Minecraft.getMinecraft().thePlayer;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handlePacket(Runnable runnable, World world)
|
||||
{
|
||||
Minecraft.getMinecraft().addScheduledTask(runnable);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renderLaser(World world, Pos3D from, Pos3D to, EnumFacing direction, double energy)
|
||||
|
||||
Reference in new issue
Block a user