mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 13:06:02 +01:00
Fixed NPE in BrewingStand
This commit is contained in:
parent
6c09066e22
commit
e79d26d7d7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user