From 8b09d98319f7c1d407d9db9bb053df0e2db4a6fe Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 21 Jul 2019 11:45:05 +1000 Subject: [PATCH] SPIGOT-5190: Superfluous EntityCombustEvent called when using fire aspect sword --- nms-patches/EntityHuman.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/EntityHuman.patch b/nms-patches/EntityHuman.patch index 1a592e3526..c842ea765a 100644 --- a/nms-patches/EntityHuman.patch +++ b/nms-patches/EntityHuman.patch @@ -290,7 +290,7 @@ + org.bukkit.Bukkit.getPluginManager().callEvent(combustEvent); + + if (!combustEvent.isCancelled()) { -+ entity.setOnFire(combustEvent.getDuration()); ++ entity.setOnFire(combustEvent.getDuration(), false); + } + // CraftBukkit end }