* Attempt to fix bug not showing cordinates on select.

This commit is contained in:
Steffion 2013-08-13 19:37:54 +02:00
parent ddb50ec256
commit 947ac489c7

View File

@ -49,12 +49,11 @@ public class OnPlayerInteractEvent implements Listener {
ConfigC.normal_wandSetPosition, ConfigC.normal_wandSetPosition,
true, true,
"number-1", "number-1",
"pos-%N(%A" + location.getBlockX() "pos-%N(%A" + location.getX()
+ "%N, %A" + "%N, %A"
+ location.getBlockY() + location.getY()
+ "%N, %A" + "%N, %A"
+ location.getBlockZ() + location.getZ() + "%N)");
+ "%N)");
W.pos1.put(player, location); W.pos1.put(player, location);
} }
} else if (action.equals(Action.RIGHT_CLICK_BLOCK)) { } else if (action.equals(Action.RIGHT_CLICK_BLOCK)) {
@ -66,12 +65,11 @@ public class OnPlayerInteractEvent implements Listener {
ConfigC.normal_wandSetPosition, ConfigC.normal_wandSetPosition,
true, true,
"number-2", "number-2",
"pos-%N(%A" + location.getBlockX() "pos-%N(%A" + location.getX()
+ "%N, %A" + "%N, %A"
+ location.getBlockY() + location.getY()
+ "%N, %A" + "%N, %A"
+ location.getBlockZ() + location.getZ() + "%N)");
+ "%N)");
W.pos2.put(player, location); W.pos2.put(player, location);
} }
} }