More turret consistency / Power curve for recoil
This commit is contained in:
@@ -18,7 +18,7 @@ public class ConsumeItemExplode extends ConsumeItemFilter{
|
||||
public Effect explodeEffect = Fx.generatespark;
|
||||
|
||||
public ConsumeItemExplode(float threshold){
|
||||
super(item -> item.explosiveness >= threshold);
|
||||
this.filter = item -> item.explosiveness >= this.threshold;
|
||||
this.threshold = threshold;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user