Fixing Enderpearls
Dieser Commit ist enthalten in:
Ursprung
0f06b5ff20
Commit
e3952abe6f
@ -111,8 +111,9 @@ public class PlayerSeatListener implements Listener {
|
||||
public void onEntityDismount(EntityDismountEvent event) {
|
||||
seats.remove(getSeatLocation(event.getDismounted().getLocation()));
|
||||
|
||||
if (event.getEntityType() != EntityType.ARROW)
|
||||
if (event.getEntityType() != EntityType.ARROW || event.getEntityType() != EntityType.ENDER_PEARL) {
|
||||
return;
|
||||
}
|
||||
|
||||
event.getDismounted().remove();
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren