mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Fixed CraftItem NPEs
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
9cb3bad796
commit
4071d89641
@ -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