From 630847d780e7d748a5e42bda4966d13d064f39b6 Mon Sep 17 00:00:00 2001 From: Seth Winston Date: Sun, 5 Nov 2017 19:14:24 -0500 Subject: [PATCH] Prevent entity creation from bomber mutation --- .../tc/oc/pgm/mutation/types/targetable/BomberMutation.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PGM/src/main/java/tc/oc/pgm/mutation/types/targetable/BomberMutation.java b/PGM/src/main/java/tc/oc/pgm/mutation/types/targetable/BomberMutation.java index cca527a..ee520ef 100644 --- a/PGM/src/main/java/tc/oc/pgm/mutation/types/targetable/BomberMutation.java +++ b/PGM/src/main/java/tc/oc/pgm/mutation/types/targetable/BomberMutation.java @@ -36,6 +36,7 @@ public class BomberMutation extends EntityMutation 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 implements TargetM entities().filter(TNTPrimed::isOnGround).forEach(this::despawn); } -} \ No newline at end of file +}