mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-12-27 17:37:34 +01:00
Fixed wind charges incorrectly logging false #explosion data (fixes #555)
This commit is contained in:
parent
057a635030
commit
3e8083becf
@ -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…
Reference in New Issue
Block a user