Fixed wind charges incorrectly logging false #explosion data (fixes #555)
This commit is contained in:
parent
057a635030
commit
3e8083becf
1 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,10 @@ public final class EntityExplodeListener extends Queue implements Listener {
|
|||
@EventHandler(priority = EventPriority.MONITOR)
|
||||
protected void onEntityExplode(EntityExplodeEvent event) {
|
||||
Entity entity = event.getEntity();
|
||||
if (entity.getType().name().equals("WIND_CHARGE")) {
|
||||
return;
|
||||
}
|
||||
|
||||
World world = event.getLocation().getWorld();
|
||||
String user = "#explosion";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue