mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Fixed NPE in BlockFurnace.
This commit is contained in:
parent
a5f85b6f1a
commit
f4a789b48a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue