mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-11 01:12:47 +01:00
Fixed CraftItem NPEs
This commit is contained in:
parent
09aa37fe4a
commit
92cbb2fc23
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ public class CraftItem extends CraftEntity implements Item {
|
||||||
|
|
||||||
public CraftItem(CraftServer server, EntityItem entity) {
|
public CraftItem(CraftServer server, EntityItem entity) {
|
||||||
super(server, entity);
|
super(server, entity);
|
||||||
|
this.item = entity;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack getItemStack() {
|
public ItemStack getItemStack() {
|
||||||
|
|
Loading…
Reference in a new issue