it compiles :D
This commit is contained in:
parent
500ff29dbd
commit
6b9f6cb4f8
142 changed files with 755 additions and 1724 deletions
|
@ -30,7 +30,6 @@ import net.minecraft.block.entity.BlockEntity;
|
|||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.Items;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import net.minecraft.util.Identifier;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import reborncore.common.network.ExtendedPacketBuffer;
|
||||
|
@ -121,7 +120,7 @@ public class ServerboundPackets {
|
|||
ItemStack stack = playerMP.inventory.getInvStack(i);
|
||||
if (stack.getItem() == TRContent.MANUAL) {
|
||||
playerMP.inventory.removeInvStack(i);
|
||||
playerMP.inventory.addItemStackToInventory(new ItemStack(Items.BOOK));
|
||||
playerMP.inventory.insertStack(new ItemStack(Items.BOOK));
|
||||
//TODO 1.13
|
||||
//playerMP.inventory.addItemStackToInventory(OreUtil.getStackFromName("ingotRefinedIron"));
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue