[SPIGOT-4571] EntityCombustEvent not triggered when Phantom catches fire Created: 09/Jan/19 Updated: 09/Jan/19 Resolved: 09/Jan/19 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | RecursiveG | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | 1.13.2, event, phantom |
Version: | git-Spigot-f56e2e7-9dc5658 (MC: 1.13.2) |
Guidelines Read: | Yes |
Description |
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true) public void onEntityCatchFire(EntityCombustEvent ev) { getLogger().info("FireEvent cancelled: " + ev.getEntityType().name()); ev.setCancelled(true); } Summon some phantoms/zombies/skeletons in game. The phantoms will catch fire while others won't. Nothing about phantom is observed from the console. |