mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Fixed Button to tile packet.
This commit is contained in:
parent
38daf28115
commit
7357f5b045
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public final class PacketHandlerHelper {
|
|||
compound.putInt("X", pos.getX());
|
||||
compound.putInt("Y", pos.getY());
|
||||
compound.putInt("Z", pos.getZ());
|
||||
compound.putString("WorldID", tile.getLevel().dimension().getRegistryName().toString());
|
||||
compound.putString("WorldID", tile.getLevel().dimension().location().toString());
|
||||
compound.putInt("PlayerID", Minecraft.getInstance().player.getId());
|
||||
compound.putInt("ButtonID", buttonId);
|
||||
PacketHandler.THE_NETWORK.sendToServer(new PacketClientToServer(compound, PacketHandler.GUI_BUTTON_TO_TILE_HANDLER));
|
||||
|
|
Loading…
Reference in a new issue