mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 12:59:41 +00:00
Of course, the issue isn't on Minecraft's end, it has to do with Coord4D hashing. Coord4D no longer extends BlockPos to prevent hash issues
This commit is contained in:
1 parent
c6f3c162f9
commit
ddfe83c495
70 files changed
+458
-1032
No files matched your search
@@ -87,7 +87,7 @@ public class PacketSimpleGui implements IMessageHandler<SimpleGuiMessage, IMessa
|
||||
|
||||
Mekanism.packetHandler.sendTo(new SimpleGuiMessage(obj, handler, id, window), playerMP);
|
||||
|
||||
playerMP.openContainer = handlers.get(handler).getServerGui(id, playerMP, world, obj);
|
||||
playerMP.openContainer = handlers.get(handler).getServerGui(id, playerMP, world, obj.getPos());
|
||||
playerMP.openContainer.windowId = window;
|
||||
playerMP.openContainer.onCraftGuiOpened(playerMP);
|
||||
}
|
||||
@@ -95,7 +95,7 @@ public class PacketSimpleGui implements IMessageHandler<SimpleGuiMessage, IMessa
|
||||
@SideOnly(Side.CLIENT)
|
||||
public static GuiScreen getGui(int handler, int id, EntityPlayer player, World world, Coord4D obj)
|
||||
{
|
||||
return (GuiScreen)handlers.get(handler).getClientGui(id, player, world, obj);
|
||||
return (GuiScreen)handlers.get(handler).getClientGui(id, player, world, obj.getPos());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user