Added energy check for Atomic Disassembler hoe function
This commit is contained in:
parent
9d8a6c9e4c
commit
730ae963ff
1 changed files with 20 additions and 17 deletions
|
@ -169,6 +169,8 @@ public class ItemAtomicDisassembler extends ItemEnergized
|
|||
}
|
||||
}
|
||||
|
||||
if(getEnergy(stack) > 0)
|
||||
{
|
||||
switch(getEfficiency(stack))
|
||||
{
|
||||
case 20:
|
||||
|
@ -192,6 +194,7 @@ public class ItemAtomicDisassembler extends ItemEnergized
|
|||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue