mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 11:29:23 +01:00
Use the non-deprecated getBurnTime method
This commit is contained in:
parent
60703b3004
commit
a5172ea2e3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue