mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 04:02:50 +01:00
Fixed NPE in BrewingStand
This commit is contained in:
parent
6c09066e22
commit
e79d26d7d7
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue