mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
nothing to see here Kappa Keepo
This commit is contained in:
parent
8d7f1cb595
commit
296d8ee7c1
@ -602,11 +602,9 @@ public class PlayerListener implements Listener {
|
||||
Material clickedBlockType = clickedBlock.getType();
|
||||
//The blacklist contains interactable blocks so its a convenient filter
|
||||
if(clickedBlockType == Repair.anvilMaterial || clickedBlockType == Salvage.anvilMaterial) {
|
||||
Bukkit.broadcastMessage("Debug");
|
||||
event.setUseItemInHand(Event.Result.ALLOW);
|
||||
|
||||
if(mcMMO.getMaterialMapStore().isToolActivationBlackListed(clickedBlockType)) {
|
||||
Bukkit.broadcastMessage("Derp 2");
|
||||
event.setUseInteractedBlock(Event.Result.DENY);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user