Can now charge ic2 items, closes #1202
This commit is contained in:
parent
850ec54bd3
commit
e2f177b757
3 changed files with 17 additions and 9 deletions
|
@ -40,4 +40,11 @@ public class IC2ItemCharger {
|
|||
}
|
||||
}
|
||||
|
||||
public static boolean isIC2PoweredItem(ItemStack stack){
|
||||
if(stack.isEmpty()){
|
||||
return false;
|
||||
}
|
||||
return stack.getItem() instanceof IElectricItem;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue