Fixed second position setting commands saying position 1 in CuboidRegionSelector.

This commit is contained in:
sk89q 2011-02-24 16:49:11 -08:00
parent 7730ddf679
commit 92e5d80c90

View File

@ -65,10 +65,10 @@ public class CuboidRegionSelector implements RegionSelector {
public void explainSecondarySelection(LocalPlayer player, Vector pos) { public void explainSecondarySelection(LocalPlayer player, Vector pos) {
if (pos1 != null && pos2 != null) { if (pos1 != null && pos2 != null) {
player.print("Second position set to " + pos1 player.print("Second position set to " + pos2
+ " (" + region.getArea() + ")."); + " (" + region.getArea() + ").");
} else { } else {
player.print("Second position set to " + pos1 + "."); player.print("Second position set to " + pos2 + ".");
} }
} }