* Attempt fix selection wand not showing location.

This commit is contained in:
Steffion 2013-08-26 15:41:35 +02:00
parent ffb1e986f3
commit 28b2bf5931
2 changed files with 9 additions and 3 deletions

View File

@ -55,7 +55,10 @@ public class OnPlayerInteractEvent implements Listener {
+ "%N, %A" + "%N, %A"
+ location.getY() + location.getY()
+ "%N, %A" + "%N, %A"
+ location.getZ() + "%N)"); + location.getZ() + "%N)",
"x-" + location.getX(), "y-"
+ location.getY(), "z-"
+ location.getZ());
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)) {
@ -71,7 +74,10 @@ public class OnPlayerInteractEvent implements Listener {
+ "%N, %A" + "%N, %A"
+ location.getY() + location.getY()
+ "%N, %A" + "%N, %A"
+ location.getZ() + "%N)"); + location.getZ() + "%N)",
"x-" + location.getX(), "y-"
+ location.getY(), "z-"
+ location.getZ());
W.pos2.put(player, location); W.pos2.put(player, location);
} }
} }

View File

@ -84,7 +84,7 @@ public enum ConfigC {
W.messages), W.messages),
normal_wandGaveWand ("%NHere you go ;)! &o(Use the %A&o%type%%N&o!)", normal_wandGaveWand ("%NHere you go ;)! &o(Use the %A&o%type%%N&o!)",
W.messages), W.messages),
normal_wandSetPosition ("%NSet position %A#%number%%N to location: %pos%.", normal_wandSetPosition ("%NSet position %A#%number%%N to location: (%A%x%%N, %A%y%%N, %A%z%%N).",
W.messages), W.messages),
normal_createCreatedArena ("%NCreated an arena with the name '%A%name%%N'.", normal_createCreatedArena ("%NCreated an arena with the name '%A%name%%N'.",
W.messages), W.messages),