Fix a bunch of duplicate EntityCombustEvent calls

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-01-11 11:41:32 +11:00
parent ab7419bd7d
commit d8f2a7e7cc
6 changed files with 7 additions and 7 deletions

View File

@@ -234,7 +234,7 @@
+
+ if (!combustEvent.isCancelled()) {
+ flag4 = true;
+ entity.setOnFire(combustEvent.getDuration());
+ entity.setOnFire(combustEvent.getDuration(), false);
+ }
+ // CraftBukkit end
}