mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-10-26 07:25:00 +00:00
- Airburst no longer triggers doors/buttons/levers
This commit is contained in:
parent
81bcfa9867
commit
a04409123c
|
@ -104,6 +104,10 @@ public class AirBlast extends AirAbility {
|
||||||
this.pushFactor *= modifiedPushFactor;
|
this.pushFactor *= modifiedPushFactor;
|
||||||
this.affectedLevers = new ArrayList<>();
|
this.affectedLevers = new ArrayList<>();
|
||||||
this.affectedEntities = new ArrayList<>();
|
this.affectedEntities = new ArrayList<>();
|
||||||
|
//prevent the airburst related airblasts from triggering doors/levers/buttons
|
||||||
|
this.canOpenDoors = false;
|
||||||
|
this.canPressButtons = false;
|
||||||
|
this.canFlickLevers = false;
|
||||||
start();
|
start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue