mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-23 10:45:54 +01:00
CoreProtect support for explosions
This commit is contained in:
parent
1da34a44d9
commit
8f7d92959e
@ -423,6 +423,10 @@ public class Entity implements Listener {
|
||||
removeBlockFromLevel(island, block);
|
||||
}
|
||||
|
||||
if(skyblock.getCoreProtectAPI() != null) {
|
||||
skyblock.getCoreProtectAPI().logRemoval("#" + entity.getType().toString().toLowerCase(), block.getLocation(), material.getMaterial(), null);
|
||||
}
|
||||
|
||||
it.remove();
|
||||
if(!removed){
|
||||
removed = true;
|
||||
|
Loading…
Reference in New Issue
Block a user