mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-26 20:27:38 +01:00
Added spell check for smithing table
This commit is contained in:
parent
149b055860
commit
c03881db10
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user