Fix crash rendering empty electric tool

This commit is contained in:
David Vierra 2017-01-20 21:18:42 -10:00
parent 340c617797
commit 2b80c158bc

View file

@ -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) {