geforkt von Mirrors/Paper
Added setItemStack(ItemStack stack) to CraftItemDrop
Dieser Commit ist enthalten in:
Ursprung
24f140d1f4
Commit
743ff05b2e
@ -23,6 +23,10 @@ public class CraftItemDrop extends CraftEntity implements ItemDrop {
|
|||||||
return new CraftItemStack(item.a);
|
return new CraftItemStack(item.a);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setItemStack(ItemStack stack) {
|
||||||
|
item.a = new net.minecraft.server.ItemStack(stack.getTypeId(), stack.getAmount(), stack.getDurability());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "CraftItemDrop{" + "item=" + item + '}';
|
return "CraftItemDrop{" + "item=" + item + '}';
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren