Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-08 04:20:06 +01:00
Changed the arm swing tools to also work on right click.
Dieser Commit ist enthalten in:
Ursprung
016a3ddd5b
Commit
fa59eb29b5
@ -570,7 +570,13 @@ public class WorldEdit {
|
|||||||
public boolean handleRightClick(LocalPlayer player) {
|
public boolean handleRightClick(LocalPlayer player) {
|
||||||
LocalSession session = getSession(player);
|
LocalSession session = getSession(player);
|
||||||
|
|
||||||
if (player.getItemInHand() == config.navigationWand) {
|
if (player.isHoldingPickAxe()) {
|
||||||
|
if (session.getArmSwingMode() != null) {
|
||||||
|
session.getArmSwingMode().act(server, config,
|
||||||
|
player, session, null);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
} else if (player.getItemInHand() == config.navigationWand) {
|
||||||
CompassMode mode = session.getCompassMode();
|
CompassMode mode = session.getCompassMode();
|
||||||
|
|
||||||
if (mode == CompassMode.JUMPTO) {
|
if (mode == CompassMode.JUMPTO) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren