2
0
Эх сурвалжийг харах

nothing to see here Kappa Keepo

nossr50 5 жил өмнө
parent
commit
296d8ee7c1

+ 0 - 2
src/main/java/com/gmail/nossr50/listeners/PlayerListener.java

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