mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 21:17:00 +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) {
|
||||
super(server, entity);
|
||||
this.item = entity;
|
||||
}
|
||||
|
||||
public ItemStack getItemStack() {
|
||||
|
|
Loading…
Reference in a new issue