* Attempt to fix bug not showing cordinates on select.
This commit is contained in:
parent
ddb50ec256
commit
947ac489c7
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user