From 6ab525be7b271ad68d8638d230ac3b4262d9c487 Mon Sep 17 00:00:00 2001 From: KennyTV <28825609+KennyTV@users.noreply.github.com> Date: Thu, 25 Apr 2019 22:05:32 +0200 Subject: [PATCH] Fix blockconnection --- .../protocol1_13to1_12_2/blockconnections/ConnectionData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java index 48b8627c7..9d80b64e6 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java @@ -39,7 +39,7 @@ public class ConnectionData { ConnectionHandler handler = connectionHandlerMap.get(blockState); if (handler == null) continue; - int newBlockState = handler.connect(user, position, blockState); + int newBlockState = handler.connect(user, pos, blockState); PacketWrapper blockUpdatePacket = new PacketWrapper(0x0B, null, user); blockUpdatePacket.write(Type.POSITION, pos); blockUpdatePacket.write(Type.VAR_INT, newBlockState);