mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 19:46:42 +01:00
Fixed the title on the bag of holding
This commit is contained in:
parent
684641e29c
commit
797dbb8e38
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue