Remove Unused IMoving Checks Around
Dieser Commit ist enthalten in:
Ursprung
8b6cb30e25
Commit
3497e2d1e7
@ -145,11 +145,12 @@ public class Recording implements Listener {
|
||||
|
||||
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
|
||||
public void onEntityDamage(EntityDamageEvent e) {
|
||||
if(e.getEntityType() != EntityType.PLAYER)
|
||||
return;
|
||||
|
||||
if(e.getCause() == EntityDamageEvent.DamageCause.FIRE_TICK || e.getCause() == EntityDamageEvent.DamageCause.FIRE ||e.getEntity().getFireTicks() > 0)
|
||||
RecordSystem.setOnFire(e.getEntity(), false);
|
||||
|
||||
if(e.getEntityType() != EntityType.PLAYER)
|
||||
return;
|
||||
|
||||
Player p = (Player) e.getEntity();
|
||||
if(isNotSent(p))
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren