Add check for valid special wand upgrades, fixes #48
This commit is contained in:
@@ -331,7 +331,7 @@ public class ContainerArcaneWorkbench extends Container {
|
|||||||
// This needs to happen so the charging works on the new wand, not the old one.
|
// This needs to happen so the charging works on the new wand, not the old one.
|
||||||
wand = this.getSlot(WAND_SLOT).getStack();
|
wand = this.getSlot(WAND_SLOT).getStack();
|
||||||
|
|
||||||
}else{
|
}else if(WandHelper.isWandUpgrade(upgrade.getItem())){
|
||||||
|
|
||||||
// Special upgrades
|
// Special upgrades
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user