From 947ac489c7d51a01b65a5d3cd0a2c03db19a6afb Mon Sep 17 00:00:00 2001 From: Steffion Date: Tue, 13 Aug 2013 19:37:54 +0200 Subject: [PATCH] * Attempt to fix bug not showing cordinates on select. --- .../BlockHunt/Listeners/OnPlayerInteractEvent.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/nl/Steffion/BlockHunt/Listeners/OnPlayerInteractEvent.java b/src/nl/Steffion/BlockHunt/Listeners/OnPlayerInteractEvent.java index 154ded7..83702d1 100644 --- a/src/nl/Steffion/BlockHunt/Listeners/OnPlayerInteractEvent.java +++ b/src/nl/Steffion/BlockHunt/Listeners/OnPlayerInteractEvent.java @@ -49,12 +49,11 @@ public class OnPlayerInteractEvent implements Listener { ConfigC.normal_wandSetPosition, true, "number-1", - "pos-%N(%A" + location.getBlockX() + "pos-%N(%A" + location.getX() + "%N, %A" - + location.getBlockY() + + location.getY() + "%N, %A" - + location.getBlockZ() - + "%N)"); + + location.getZ() + "%N)"); W.pos1.put(player, location); } } else if (action.equals(Action.RIGHT_CLICK_BLOCK)) { @@ -66,12 +65,11 @@ public class OnPlayerInteractEvent implements Listener { ConfigC.normal_wandSetPosition, true, "number-2", - "pos-%N(%A" + location.getBlockX() + "pos-%N(%A" + location.getX() + "%N, %A" - + location.getBlockY() + + location.getY() + "%N, %A" - + location.getBlockZ() - + "%N)"); + + location.getZ() + "%N)"); W.pos2.put(player, location); } }