Add Delete Arrow
Dieser Commit ist enthalten in:
Ursprung
1ab54fec64
Commit
7f05e92ff6
@ -57,7 +57,7 @@ public class PlayerSeatListener extends BasicListener {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onEntityDismount(EntityDismountEvent event) {
|
public void onEntityDismount(EntityDismountEvent event) {
|
||||||
if(event.getEntity().getType() != EntityType.ARROW)
|
if(event.getDismounted().getType() != EntityType.ARROW)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(event.getEntityType() != EntityType.PLAYER)
|
if(event.getEntityType() != EntityType.PLAYER)
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren