Altar maker notifies of creative only-ness
This commit is contained in:
parent
d740264598
commit
a6b243e190
|
@ -48,9 +48,15 @@ public class ItemAltarMaker extends Item implements IAltarManipulator
|
|||
@Override
|
||||
public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player)
|
||||
{
|
||||
if (!player.capabilities.isCreativeMode || world.isRemote)
|
||||
if (world.isRemote)
|
||||
return stack;
|
||||
|
||||
if (!player.capabilities.isCreativeMode)
|
||||
{
|
||||
ChatUtil.sendNoSpam(player, TextHelper.localizeEffect("chat.BloodMagic.altarMaker.creativeOnly"));
|
||||
return stack;
|
||||
}
|
||||
|
||||
stack = NBTHelper.checkNBT(stack);
|
||||
|
||||
if (player.isSneaking())
|
||||
|
|
|
@ -232,6 +232,7 @@ ritual.BloodMagic.regenerationRitual=Ritual of Regeneration
|
|||
chat.BloodMagic.altarMaker.setTier=Set Tier to: %d
|
||||
chat.BloodMagic.altarMaker.building=Building a Tier %d Altar
|
||||
chat.BloodMagic.altarMaker.destroy=Destroyed a Tier %d Altar
|
||||
chat.BloodMagic.altarMaker.creativeOnly=This is a creative only item.
|
||||
chat.BloodMagic.damageSource=%s's soul became too weak
|
||||
chat.BloodMagic.ritual.weak=You feel a push, but are too weak to perform this ritual.
|
||||
chat.BloodMagic.ritual.prevent=The ritual is actively resisting you!
|
||||
|
|
Loading…
Reference in a new issue