Prevent entity creation from bomber mutation
This commit is contained in:
parent
a07f30e4bb
commit
630847d780
|
@ -36,6 +36,7 @@ public class BomberMutation extends EntityMutation<TNTPrimed> implements TargetM
|
||||||
TNTPrimed tnt = spawn(location, TNTPrimed.class);
|
TNTPrimed tnt = spawn(location, TNTPrimed.class);
|
||||||
tnt.setGlowing(true);
|
tnt.setGlowing(true);
|
||||||
tnt.setIsIncendiary(false);
|
tnt.setIsIncendiary(false);
|
||||||
|
tnt.setYield(0);
|
||||||
tnt.setFuseTicks(200);
|
tnt.setFuseTicks(200);
|
||||||
tnt.setVelocity(
|
tnt.setVelocity(
|
||||||
new Vector(
|
new Vector(
|
||||||
|
@ -85,4 +86,4 @@ public class BomberMutation extends EntityMutation<TNTPrimed> implements TargetM
|
||||||
entities().filter(TNTPrimed::isOnGround).forEach(this::despawn);
|
entities().filter(TNTPrimed::isOnGround).forEach(this::despawn);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue