New WG Flag expressions (SkRambled expressions are somewhat broken)...
Register event-entity on Elytra Glide event Change Elytra glide state to accept entities Fixed "add x nbt of %slot%" Fix an NPE in the NBTOf expression
This commit is contained in:
@@ -423,7 +423,7 @@ public class NMS_v1_9_R1 implements NMSInterface {
|
||||
|
||||
@Override
|
||||
public NBTTagCompound getItemNBT(ItemStack itemStack) {
|
||||
if (itemStack.getType() == Material.AIR)
|
||||
if (itemStack == null || itemStack.getType() == Material.AIR)
|
||||
return null;
|
||||
NBTTagCompound itemNBT = CraftItemStack.asNMSCopy(itemStack).getTag();
|
||||
if (String.valueOf(itemNBT).equals("{}"))
|
||||
|
||||
Reference in New Issue
Block a user