Added safe zone protection for flame
This commit is contained in:
parent
59e564cdc6
commit
0e0582a1a7
@ -30,6 +30,7 @@ public abstract class AttackAttribute extends ItemAttribute
|
||||
@Override
|
||||
public void onAttack(CustomDamageEvent event)
|
||||
{
|
||||
if(event.GetCancellers().contains("Safe Zone")) return;
|
||||
_attackCount++;
|
||||
System.out.println("Attack count " + _attackCount + " - " + _attackLimit);
|
||||
if (_attackCount >= _attackLimit)
|
||||
|
Loading…
Reference in New Issue
Block a user