From 8eb196964dff19516a5d8fa0d49c1a147affd66c Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 21 Jul 2019 11:45:05 +1000 Subject: [PATCH] SPIGOT-5190: Superfluous EntityCombustEvent called when using fire aspect sword By: md_5 --- paper-server/nms-patches/EntityHuman.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/nms-patches/EntityHuman.patch b/paper-server/nms-patches/EntityHuman.patch index 1a592e35268..c842ea765a4 100644 --- a/paper-server/nms-patches/EntityHuman.patch +++ b/paper-server/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 }