mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 20:22:36 +00:00
Colored frying pans
- Added colored frying pans - Switched frying pans to using the itemstack sensitive container item since the non-sensitive version was deprecated.
This commit is contained in:
1 parent
80efde613a
commit
2f44669d52
5 files changed
+72
-28
No files matched your search
@@ -82,9 +82,9 @@ public class FrypanLogic extends EquipLogic implements IActiveLogic
|
||||
fuel = fuelGague = (int) (getItemBurnTime(inventory[1]) * 2.5);
|
||||
if (fuel > 0)
|
||||
{
|
||||
if (inventory[1].getItem().hasContainerItem()) //Fuel slot
|
||||
if (inventory[1].getItem().hasContainerItem(inventory[1])) //Fuel slot
|
||||
{
|
||||
inventory[1] = new ItemStack(inventory[1].getItem().getContainerItem());
|
||||
inventory[1] = inventory[1].getItem().getContainerItem(inventory[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user