Can now charge ic2 items, closes #1202

This commit is contained in:
modmuss50 2017-11-27 13:34:45 +00:00
parent 850ec54bd3
commit e2f177b757
3 changed files with 17 additions and 9 deletions

View file

@ -40,4 +40,11 @@ public class IC2ItemCharger {
}
}
public static boolean isIC2PoweredItem(ItemStack stack){
if(stack.isEmpty()){
return false;
}
return stack.getItem() instanceof IElectricItem;
}
}