Skip to content

Commit

Permalink
Fix for EdwinMindcraft#42 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mishin870 committed May 11, 2018
1 parent f2d854d commit 334f681
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import am2.common.blocks.tileentity.TileEntityInscriptionTable;
import am2.common.defs.ItemDefs;
import am2.common.items.ItemSpellBase;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.inventory.Slot;
Expand Down Expand Up @@ -55,7 +54,8 @@ public void onSlotChanged(){
public void putStack(ItemStack stack){
if (stack != null && stack.getItem() == Items.WRITABLE_BOOK){
stack.setItem(Items.WRITTEN_BOOK);
stack.setStackDisplayName(I18n.format("am2.tooltip.unfinishedSpellRecipe"));
// TODO: localize
stack.setStackDisplayName("Unfinished Spell Recipe");
}
super.putStack(stack);
}
Expand Down

0 comments on commit 334f681

Please sign in to comment.