nothing to see here Kappa Keepo

This commit is contained in:
nossr50 2020-03-19 19:04:15 -07:00
parent 8d7f1cb595
commit 296d8ee7c1

View File

@ -602,11 +602,9 @@ public class PlayerListener implements Listener {
Material clickedBlockType = clickedBlock.getType(); Material clickedBlockType = clickedBlock.getType();
//The blacklist contains interactable blocks so its a convenient filter //The blacklist contains interactable blocks so its a convenient filter
if(clickedBlockType == Repair.anvilMaterial || clickedBlockType == Salvage.anvilMaterial) { if(clickedBlockType == Repair.anvilMaterial || clickedBlockType == Salvage.anvilMaterial) {
Bukkit.broadcastMessage("Debug");
event.setUseItemInHand(Event.Result.ALLOW); event.setUseItemInHand(Event.Result.ALLOW);
if(mcMMO.getMaterialMapStore().isToolActivationBlackListed(clickedBlockType)) { if(mcMMO.getMaterialMapStore().isToolActivationBlackListed(clickedBlockType)) {
Bukkit.broadcastMessage("Derp 2");
event.setUseInteractedBlock(Event.Result.DENY); event.setUseInteractedBlock(Event.Result.DENY);
} }
} }