SteamWar/BauSystem2.0
Archiviert
12
0

Fix RightClick and LeftClick

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-09-21 12:55:11 +02:00
Ursprung 0373408f26
Commit 663f380e18

Datei anzeigen

@ -372,7 +372,7 @@ public class CustomScriptListener implements Listener {
callEvent(EventType.RightClick, event.getPlayer(), event);
}
if (event.getAction() == Action.LEFT_CLICK_AIR || event.getAction() == Action.LEFT_CLICK_BLOCK) {
callEvent(EventType.RightClick, event.getPlayer(), event);
callEvent(EventType.LeftClick, event.getPlayer(), event);
}
}
}