mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +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
|
//Other Slots in Inventory excluded
|
||||||
if (slot >= inventoryStart) {
|
if (slot >= inventoryStart) {
|
||||||
//Shift from Inventory
|
//Shift from Inventory
|
||||||
if (CommonHooks.getBurnTime(newStack, null) > 0) {
|
if (newStack.getBurnTime(null) > 0) {
|
||||||
if (!this.moveItemStackTo(newStack, 0, 1, false)) {
|
if (!this.moveItemStackTo(newStack, 0, 1, false)) {
|
||||||
return ItemStack.EMPTY;
|
return ItemStack.EMPTY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue