Fix RightClick and LeftClick
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
0373408f26
Commit
663f380e18
@ -372,7 +372,7 @@ public class CustomScriptListener implements Listener {
|
|||||||
callEvent(EventType.RightClick, event.getPlayer(), event);
|
callEvent(EventType.RightClick, event.getPlayer(), event);
|
||||||
}
|
}
|
||||||
if (event.getAction() == Action.LEFT_CLICK_AIR || event.getAction() == Action.LEFT_CLICK_BLOCK) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren