Skip to content
This repository was archived by the owner on Nov 25, 2019. It is now read-only.

Commit 630847d

Browse files
PalmidenceElectroid
authored andcommitted
Prevent entity creation from bomber mutation
1 parent a07f30e commit 630847d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PGM/src/main/java/tc/oc/pgm/mutation/types/targetable/BomberMutation.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public void target(List<MatchPlayer> players) {
3636
TNTPrimed tnt = spawn(location, TNTPrimed.class);
3737
tnt.setGlowing(true);
3838
tnt.setIsIncendiary(false);
39+
tnt.setYield(0);
3940
tnt.setFuseTicks(200);
4041
tnt.setVelocity(
4142
new Vector(
@@ -85,4 +86,4 @@ public void tick() {
8586
entities().filter(TNTPrimed::isOnGround).forEach(this::despawn);
8687
}
8788

88-
}
89+
}

0 commit comments

Comments
 (0)