From a5172ea2e33db56081891a9e30333d5dbec7ae0a Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Sat, 25 May 2024 16:49:37 +0200 Subject: [PATCH] Use the non-deprecated getBurnTime method --- .../actuallyadditions/mod/inventory/ContainerCoalGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/ContainerCoalGenerator.java b/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/ContainerCoalGenerator.java index b044353fa..121ba4c7a 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/ContainerCoalGenerator.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/ContainerCoalGenerator.java @@ -63,7 +63,7 @@ public class ContainerCoalGenerator extends AbstractContainerMenu { //Other Slots in Inventory excluded if (slot >= inventoryStart) { //Shift from Inventory - if (CommonHooks.getBurnTime(newStack, null) > 0) { + if (newStack.getBurnTime(null) > 0) { if (!this.moveItemStackTo(newStack, 0, 1, false)) { return ItemStack.EMPTY; }