mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Don't eat buckets in the Fuelwood Heater. Fixes #5019
This commit is contained in:
1 parent
f2a14a2831
commit
0bb6e414dd
1 file changed
+2
-1
@@ -95,11 +95,12 @@ public class TileEntityFuelwoodHeater extends TileEntityContainerBlock implement
|
||||
|
||||
if(burnTime > 0)
|
||||
{
|
||||
ItemStack preShrunk = inventory.get(0).copy();
|
||||
inventory.get(0).shrink(1);
|
||||
|
||||
if(inventory.get(0).getCount() == 0)
|
||||
{
|
||||
inventory.set(0, inventory.get(0).getItem().getContainerItem(inventory.get(0)));
|
||||
inventory.set(0, preShrunk.getItem().getContainerItem(preShrunk));
|
||||
}
|
||||
|
||||
burning = true;
|
||||
|
||||
Reference in new issue
Block a user