@EventHandler
    public void onEntityExplode(final EntityExplodeEvent event){
        if (!plugin.isEnabled()) return;
        for (Block block : event.blockList()){
            Block above = block.getRelative(BlockFace.UP);
            if (plugin.gates.gateLocation.containsKey(block.getLocation())){
                event.setCancelled(true);
                break;
            }
            else if (plugin.gates.gateLocation.containsKey(above.getLocation())){
                event.setCancelled(true);
                break;
            }
        }
    }