CoreProtect support for explosions

This commit is contained in:
Fabrizio La Rosa 2020-06-21 20:05:54 +02:00
parent 1da34a44d9
commit 8f7d92959e

View File

@ -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;