Archiviert
13
0

Fixed NPE in BlockFurnace.

Dieser Commit ist enthalten in:
EvilSeph 2011-07-22 23:04:57 -04:00
Ursprung a5f85b6f1a
Commit f4a789b48a

Datei anzeigen

@ -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);