3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-07 03:50:06 +01:00

Changed the arm swing tools to also work on right click.

Dieser Commit ist enthalten in:
sk89q 2011-01-30 00:42:31 -08:00
Ursprung 016a3ddd5b
Commit fa59eb29b5

Datei anzeigen

@ -570,7 +570,13 @@ public class WorldEdit {
public boolean handleRightClick(LocalPlayer 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();
if (mode == CompassMode.JUMPTO) {