this.plugin.log(Level.FINER, "Right Clicked: ");
this.plugin.log(Level.FINER, "Block Clicked: " + event.getClickedBlock() + ":" + event.getClickedBlock().getType());
this.plugin.log(Level.FINER, "Translated Block: " + event.getPlayer().getWorld().getBlockAt(translatedLocation) + ":" + event.getPlayer().getWorld().getBlockAt(translatedLocation).getType());
this.plugin.log(Level.FINER, "In Hand: " + inHand);
if (ps.isDebugModeOn()) {
ps.showDebugInfo(portal);
event.setCancelled(true);
} else {
Material fillMaterial = Material.PORTAL;
if (translatedLocation.getWorld().getBlockAt(translatedLocation).getType() == Material.PORTAL) {
fillMaterial = Material.AIR;