mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-18 21:41:45 +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) {
|
public CraftItem(CraftServer server, EntityItem entity) {
|
||||||
super(server, entity);
|
super(server, entity);
|
||||||
|
this.item = entity;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack getItemStack() {
|
public ItemStack getItemStack() {
|
||||||
|
Loading…
Reference in New Issue
Block a user