Fix extending region typo
This commit is contained in:
parent
6cec36af99
commit
29337e17d1
@ -844,7 +844,10 @@ public class Vector implements Comparable<Vector>, Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "(" + getX() + ", " + getY() + ", " + getZ() + ")";
|
||||
String x = "" + (getX() == getBlockX() ? getBlockX() : getX());
|
||||
String y = "" + (getY() == getBlockY() ? getBlockY() : getY());
|
||||
String z = "" + (getZ() == getBlockZ() ? getBlockZ() : getZ());
|
||||
return "(" + x + ", " + y + ", " + z + ")";
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -137,7 +137,7 @@ public class ExtendingCuboidRegionSelector extends CuboidRegionSelector {
|
||||
|
||||
@Override
|
||||
public void explainSecondarySelection(Actor player, LocalSession session, Vector pos) {
|
||||
BBC.SELECTOR_EXPANDED.send(player, 2, pos, region.getArea());
|
||||
BBC.SELECTOR_EXPANDED.send(player, pos, region.getArea());
|
||||
|
||||
explainRegionAdjust(player, session);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user