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

Commit

Permalink
Prevent entity creation from bomber mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
Palmidence authored and Electroid committed Nov 6, 2017
1 parent a07f30e commit 630847d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public void target(List<MatchPlayer> players) {
TNTPrimed tnt = spawn(location, TNTPrimed.class);
tnt.setGlowing(true);
tnt.setIsIncendiary(false);
tnt.setYield(0);
tnt.setFuseTicks(200);
tnt.setVelocity(
new Vector(
Expand Down Expand Up @@ -85,4 +86,4 @@ public void tick() {
entities().filter(TNTPrimed::isOnGround).forEach(this::despawn);
}

}
}

0 comments on commit 630847d

Please sign in to comment.