Fix crash rendering empty electric tool
This commit is contained in:
parent
340c617797
commit
2b80c158bc
1 changed files with 2 additions and 4 deletions
|
@ -511,10 +511,8 @@ public abstract class GT_MetaGenerated_Tool extends GT_MetaBase_Item implements
|
|||
}
|
||||
|
||||
public IToolStats getToolStats(ItemStack aStack) {
|
||||
if(isItemStackUsable(aStack)) {
|
||||
return getToolStatsInternal(aStack);
|
||||
}
|
||||
return null;
|
||||
// if(isItemStackUsable(aStack)) { // why?
|
||||
return getToolStatsInternal(aStack);
|
||||
}
|
||||
|
||||
private IToolStats getToolStatsInternal(ItemStack aStack) {
|
||||
|
|
Loading…
Reference in a new issue