Skip to content

Commit

Permalink
Fixes #35
Browse files Browse the repository at this point in the history
austin u dum
  • Loading branch information
GrandMind committed Mar 1, 2015
1 parent 2afac39 commit b812c0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public Object[] callMethod(IComputerAccess computer, ILuaContext context, int me
if (enchants == null || enchants.isEmpty())
return new Object[] {false};
ItemStack enchanted = slot.copy();
if (enchanted.isItemEqual(new ItemStack(Items.enchanted_book))) {
if (enchanted.isItemEqual(new ItemStack(Items.book))) {
enchanted = new ItemStack(Items.enchanted_book);
enchanted.stackTagCompound = new NBTTagCompound();
NBTTagList storedEnchantments = new NBTTagList();
Expand Down

0 comments on commit b812c0c

Please sign in to comment.