mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-28 11:29:19 +00:00
3.4.4.2
This commit is contained in:
@@ -52,7 +52,7 @@ public class BlockPos {
|
||||
}
|
||||
|
||||
public int getSectionID() {
|
||||
return getY() / 16;
|
||||
return (int) Math.floor((double) getY() / 16);
|
||||
}
|
||||
|
||||
public int getY() {
|
||||
@@ -78,7 +78,7 @@ public class BlockPos {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ChunkPos{" +
|
||||
return "BlockPos{" +
|
||||
"x=" + getX() +
|
||||
"y=" + getY() +
|
||||
"z=" + getZ() +
|
||||
|
||||
Reference in New Issue
Block a user