Fix wrong casting

This commit is contained in:
creeper123123321 2019-11-22 15:19:25 -03:00
parent 062d3759be
commit 9308fc7712

View File

@ -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);
}