13
0

Update PlayerSeatListener
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-04-25 14:28:22 +02:00
Ursprung 0d137051d0
Commit b34f4022b1

Datei anzeigen

@ -56,6 +56,9 @@ public class PlayerSeatListener extends BasicListener{
@EventHandler @EventHandler
public void onPlayerInteract(PlayerInteractEvent event) { public void onPlayerInteract(PlayerInteractEvent event) {
if (event.getPlayer().isGliding())
return;
if (event.getAction() != Action.RIGHT_CLICK_BLOCK) if (event.getAction() != Action.RIGHT_CLICK_BLOCK)
return; return;