mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 14:33:56 +01:00
Fixed CraftItem NPEs
This commit is contained in:
parent
09aa37fe4a
commit
92cbb2fc23
@ -11,6 +11,7 @@ public class CraftItem extends CraftEntity implements Item {
|
||||
|
||||
public CraftItem(CraftServer server, EntityItem entity) {
|
||||
super(server, entity);
|
||||
this.item = entity;
|
||||
}
|
||||
|
||||
public ItemStack getItemStack() {
|
||||
|
Loading…
Reference in New Issue
Block a user