* Fixed selection wand not showing right numbers.
This commit is contained in:
parent
1b6b3f19be
commit
57e01b75b7
@ -53,14 +53,15 @@ public class OnPlayerInteractEvent implements Listener {
|
|||||||
player,
|
player,
|
||||||
ConfigC.normal_wandSetPosition,
|
ConfigC.normal_wandSetPosition,
|
||||||
"number-1",
|
"number-1",
|
||||||
"pos-%N(%A" + location.getX()
|
"pos-%N(%A" + location.getBlockX()
|
||||||
+ "%N, %A"
|
+ "%N, %A"
|
||||||
+ location.getY()
|
+ location.getBlockY()
|
||||||
+ "%N, %A"
|
+ "%N, %A"
|
||||||
+ location.getZ() + "%N)",
|
+ location.getBlockZ()
|
||||||
"x-" + location.getX(), "y-"
|
+ "%N)",
|
||||||
+ location.getY(), "z-"
|
"x-" + location.getBlockX(), "y-"
|
||||||
+ location.getZ());
|
+ location.getBlockY(),
|
||||||
|
"z-" + location.getBlockZ());
|
||||||
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,14 +72,15 @@ public class OnPlayerInteractEvent implements Listener {
|
|||||||
player,
|
player,
|
||||||
ConfigC.normal_wandSetPosition,
|
ConfigC.normal_wandSetPosition,
|
||||||
"number-2",
|
"number-2",
|
||||||
"pos-%N(%A" + location.getX()
|
"pos-%N(%A" + location.getBlockX()
|
||||||
+ "%N, %A"
|
+ "%N, %A"
|
||||||
+ location.getY()
|
+ location.getBlockY()
|
||||||
+ "%N, %A"
|
+ "%N, %A"
|
||||||
+ location.getZ() + "%N)",
|
+ location.getBlockZ()
|
||||||
"x-" + location.getX(), "y-"
|
+ "%N)",
|
||||||
+ location.getY(), "z-"
|
"x-" + location.getBlockX(), "y-"
|
||||||
+ location.getZ());
|
+ location.getBlockY(),
|
||||||
|
"z-" + location.getBlockZ());
|
||||||
W.pos2.put(player, location);
|
W.pos2.put(player, location);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user