Fixed NPE in BlockFurnace.
Dieser Commit ist enthalten in:
Ursprung
a5f85b6f1a
Commit
f4a789b48a
@ -112,6 +112,7 @@ public class BlockFurnace extends BlockContainer {
|
|||||||
if (!c) {
|
if (!c) {
|
||||||
TileEntityFurnace tileentityfurnace = (TileEntityFurnace) world.getTileEntity(i, j, k);
|
TileEntityFurnace tileentityfurnace = (TileEntityFurnace) world.getTileEntity(i, j, k);
|
||||||
|
|
||||||
|
if (tileentityfurnace == null) return; // CraftBukkit
|
||||||
for (int l = 0; l < tileentityfurnace.getSize(); ++l) {
|
for (int l = 0; l < tileentityfurnace.getSize(); ++l) {
|
||||||
ItemStack itemstack = tileentityfurnace.getItem(l);
|
ItemStack itemstack = tileentityfurnace.getItem(l);
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren