From 9308fc7712db6f15a18e634f00ef34a376822ee2 Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Fri, 22 Nov 2019 15:19:25 -0300 Subject: [PATCH] Fix wrong casting --- .../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 b25136eae..6526ccf59 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 @@ -185,7 +185,7 @@ public class ConnectionData { block = handler.connect(user, new Position( (int) (xOff + x), (short) (yOff + y), - (short) (zOff + z) + (int) (zOff + z) ), block); section.setFlatBlock(x, y, z, block); }