Added spell check for smithing table

This commit is contained in:
Auxilor 2021-03-26 22:43:39 +00:00
parent 149b055860
commit c03881db10

View File

@ -129,6 +129,12 @@ public abstract class Spell extends EcoEnchant {
|| event.getClickedBlock().getType() == Material.FURNACE) { || event.getClickedBlock().getType() == Material.FURNACE) {
return; return;
} }
if (Prerequisite.MINIMUM_1_16.isMet()) {
if (event.getClickedBlock().getType() == Material.SMITHING_TABLE) {
return;
}
}
} }
if (cooldown > 0) { if (cooldown > 0) {