Fixed NPE in BrewingStand

Dieser Commit ist enthalten in:
Wesley Wolfe 2013-07-01 22:29:43 -05:00
Ursprung 6c09066e22
Commit e79d26d7d7

Datei anzeigen

@ -121,8 +121,7 @@ public class TileEntityBrewingStand extends TileEntity implements IWorldInventor
List list = Item.POTION.c(j);
List list1 = Item.POTION.c(k);
// CraftBukkit - list != -> !list.equals
if ((j <= 0 || !list.equals(list1)) && (list == null || !list.equals(list1) && list1 != null) && j != k) {
if ((j <= 0 || list != list1) && (list == null || !list.equals(list1) && list1 != null) && j != k) {
flag = true;
break;
}