Ursprung
e63e48a2a7
Commit
960f2f3395
@ -111,9 +111,8 @@ public class PlayerSeatListener implements Listener {
|
|||||||
public void onEntityDismount(EntityDismountEvent event) {
|
public void onEntityDismount(EntityDismountEvent event) {
|
||||||
seats.remove(getSeatLocation(event.getDismounted().getLocation()));
|
seats.remove(getSeatLocation(event.getDismounted().getLocation()));
|
||||||
|
|
||||||
if (event.getEntityType() != EntityType.ARROW || event.getEntityType() != EntityType.ENDER_PEARL) {
|
if (event.getEntityType() != EntityType.ARROW)
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
event.getDismounted().remove();
|
event.getDismounted().remove();
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren