Improved debug support for GlobalPosition objects

This commit is contained in:
Unknown 2020-05-28 00:54:19 +02:00 committed by LemADEC
parent e0ff54c4de
commit b796502b4a

View file

@ -154,4 +154,10 @@ public class GlobalPosition {
public int hashCode() {
return dimensionId << 24 + (x >> 10) << 12 + y << 10 + (z >> 10);
}
@Override
public String toString() {
return String.format("GlobalPosition{DIM%d (%d %d %d)}",
dimensionId, x, y, z );
}
}