mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-31 20:33:52 -07:00
Update to Minecraft Server 1.2
This commit is contained in:
@@ -36,7 +36,7 @@ public class CraftItemStack extends ItemStack {
|
||||
item = null;
|
||||
} else {
|
||||
if (item == null) {
|
||||
item = new net.minecraft.server.ItemStack(type);
|
||||
item = new net.minecraft.server.ItemStack(type, 1, 0);
|
||||
super.setAmount(1);
|
||||
} else {
|
||||
item.c = type;
|
||||
|
Reference in New Issue
Block a user