mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 03:48:01 +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