mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Generic code cleanup
This commit is contained in:
1 parent
332d9c4f18
commit
09aa37fe4a
57 files changed
+415
-344
No files matched your search
@@ -24,6 +24,7 @@ public class EntityZombie extends EntityMonster {
|
||||
CraftServer server = ((WorldServer) this.world).getServer();
|
||||
EntityCombustEvent event = new EntityCombustEvent(Type.ENTITY_COMBUST, this.getBukkitEntity());
|
||||
server.getPluginManager().callEvent(event);
|
||||
|
||||
if (!event.isCancelled()) {
|
||||
this.fireTicks = 300;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user