mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Fixed NPE in BlockFurnace.
This commit is contained in:
parent
a5f85b6f1a
commit
f4a789b48a
@ -112,6 +112,7 @@ public class BlockFurnace extends BlockContainer {
|
||||
if (!c) {
|
||||
TileEntityFurnace tileentityfurnace = (TileEntityFurnace) world.getTileEntity(i, j, k);
|
||||
|
||||
if (tileentityfurnace == null) return; // CraftBukkit
|
||||
for (int l = 0; l < tileentityfurnace.getSize(); ++l) {
|
||||
ItemStack itemstack = tileentityfurnace.getItem(l);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user