Fix Air Problem
Dieser Commit ist enthalten in:
Ursprung
f9966c3377
Commit
be105ac770
@ -52,7 +52,7 @@ public class PlayerSeatListener extends BasicListener {
|
||||
event.getPlayer().getVehicle().remove();
|
||||
|
||||
Location location = event.getClickedBlock().getLocation();
|
||||
if (location.getWorld().getBlockAt(location.getBlockX(), location.getBlockY() + 1, location.getBlockZ()).getType() == Material.AIR)
|
||||
if (location.getWorld().getBlockAt(location.getBlockX(), location.getBlockY() + 1, location.getBlockZ()).getType() != Material.AIR)
|
||||
return;
|
||||
|
||||
Arrow arrow = (Arrow) event.getPlayer().getWorld().spawnEntity(location.add(0.5, 0, 0.5), EntityType.ARROW);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren