summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nms-patches/Entity.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/Entity.patch b/nms-patches/Entity.patch
index e6e2c814..a88c5060 100644
--- a/nms-patches/Entity.patch
+++ b/nms-patches/Entity.patch
@@ -204,7 +204,7 @@
- if (this.fireTicks == 0) {
+ // CraftBukkit start - Not on fire yet
+ if (this.fireTicks <= 0) { // Only throw events on the first combust, otherwise it spams
-+ EntityCombustEvent event = new EntityCombustEvent(getBukkitEntity(), 8);
++ EntityCombustEvent event = new org.bukkit.event.entity.EntityCombustByBlockEvent(null, getBukkitEntity(), 8);
+ world.getServer().getPluginManager().callEvent(event);
+
+ if (!event.isCancelled()) {