Skip to content

Commit

Permalink
surely it works
Browse files Browse the repository at this point in the history
  • Loading branch information
vrejhead committed Nov 29, 2023
1 parent 2776388 commit 9c29b22
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ protected boolean checkCanDrain() {
}

public int getChunkX() {
return metaTileEntity.getPos().getX() / 16;
return Math.floorDiv(metaTileEntity.getPos().getX(), 16);
}

public int getChunkZ() {
return metaTileEntity.getPos().getZ() / 16;
return Math.floorDiv(metaTileEntity.getPos().getZ(), 16);
}

/**
Expand Down

0 comments on commit 9c29b22

Please sign in to comment.