Fix a bunch of duplicate EntityCombustEvent calls
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
+ movingobjectposition.entity.world.getServer().getPluginManager().callEvent(event);
|
||||
+
|
||||
+ if (!event.isCancelled()) {
|
||||
+ movingobjectposition.entity.setOnFire(event.getDuration());
|
||||
+ movingobjectposition.entity.setOnFire(event.getDuration(), false);
|
||||
+ }
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
|
||||
Reference in New Issue
Block a user