OvercastNetwork / SportBukkit

CraftBukkit and Bukkit modifications that improve stability and add new features
100 stars 85 forks source link

Allow TNT to push players even when not dealing damage, fixes #149 #156

Closed twizmwazin closed 9 years ago

twizmwazin commented 9 years ago

This small patch reverts CraftBukkit commit c8f17232cf6, and reintroduces SPIGOT-161. The trade-off is that this fixes SportBukkit-149, which is arguably more important to OCN.

What the issue in CraftBukkit appears to be is that TNT deals 0 damage to a player, and then CraftBukkit doesn't apply velocity to the player as a result. It does not differentiate between TNT not dealing significant damage and a plugin intentionally cancelling the damage.

jedediah commented 9 years ago

Latest commit lets us have both