mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-05 01:10:19 -05:00
SPIGOT-5190: Superfluous EntityCombustEvent called when using fire aspect sword
This commit is contained in:
1 parent
9c887d4d80
commit
8b09d98319
1 file changed
+1
-1
@@ -290,7 +290,7 @@
|
||||
+ org.bukkit.Bukkit.getPluginManager().callEvent(combustEvent);
|
||||
+
|
||||
+ if (!combustEvent.isCancelled()) {
|
||||
+ entity.setOnFire(combustEvent.getDuration());
|
||||
+ entity.setOnFire(combustEvent.getDuration(), false);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user