Should be 15

This commit is contained in:
creeper123123321 2019-02-23 09:30:07 -03:00
parent 0b5c173945
commit 75d7ffb447
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -58,8 +58,8 @@ public class ConnectionData {
if (Math.abs(chunkDeltaX) + Math.abs(chunkDeltaZ) == 2) { // Corner
for (int blockY = chunkSectionY * 16; blockY < chunkSectionY * 16 + 16; blockY++) {
int blockPosX = chunkDeltaX == 1 ? 0 : 16;
int blockPosZ = chunkDeltaZ == 1 ? 0 : 16;
int blockPosX = chunkDeltaX == 1 ? 0 : 15;
int blockPosZ = chunkDeltaZ == 1 ? 0 : 15;
updateBlock(user,
new Position(
(long) ((chunkX + chunkDeltaX) << 4) + blockPosX,