Prevent entity creation from bomber mutation

This commit is contained in:
Seth Winston 2017-11-05 19:14:24 -05:00 committed by Ashcon Partovi
parent a07f30e4bb
commit 630847d780
1 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ public class BomberMutation extends EntityMutation<TNTPrimed> implements TargetM
TNTPrimed tnt = spawn(location, TNTPrimed.class);
tnt.setGlowing(true);
tnt.setIsIncendiary(false);
tnt.setYield(0);
tnt.setFuseTicks(200);
tnt.setVelocity(
new Vector(
@ -85,4 +86,4 @@ public class BomberMutation extends EntityMutation<TNTPrimed> implements TargetM
entities().filter(TNTPrimed::isOnGround).forEach(this::despawn);
}
}
}