Fixed the title on the bag of holding

This commit is contained in:
Sollace 2020-06-01 15:34:44 +02:00
parent 684641e29c
commit 797dbb8e38

View file

@ -130,10 +130,9 @@ public class BagOfHoldingItem extends Item implements MagicItem {
if (stack.hasCustomName()) { if (stack.hasCustomName()) {
o.writeText(stack.getName()); o.writeText(stack.getName());
} else { } else {
o.writeText(new TranslatableText("unicopi.gui.title.itemofholding")); o.writeText(new TranslatableText("item.unicopia.bag_of_holding"));
} }
}); });
// player.openContainer(new ContainerProvider(stack));
} }
player.playSound(SoundEvents.BLOCK_ENDER_CHEST_OPEN, 0.5F, 1); player.playSound(SoundEvents.BLOCK_ENDER_CHEST_OPEN, 0.5F, 1);