summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2012-10-28 03:05:28 -0400
committerEvilSeph <evilseph@gmail.com>2012-10-28 03:05:28 -0400
commit11d65171cd42cba6fc187ae0ae664dbd62281382 (patch)
tree9059879f649351af46db27790b56b6a08bf3db44
parent784f9e31a8bb21adb6b354b8c05225bbac06dbb6 (diff)
downloadcraftbukkit-11d65171cd42cba6fc187ae0ae664dbd62281382.tar
craftbukkit-11d65171cd42cba6fc187ae0ae664dbd62281382.tar.gz
craftbukkit-11d65171cd42cba6fc187ae0ae664dbd62281382.tar.lz
craftbukkit-11d65171cd42cba6fc187ae0ae664dbd62281382.tar.xz
craftbukkit-11d65171cd42cba6fc187ae0ae664dbd62281382.zip
These books are too powerful!
-rw-r--r--src/main/java/net/minecraft/server/NetServerHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java
index fb65c274..3374639b 100644
--- a/src/main/java/net/minecraft/server/NetServerHandler.java
+++ b/src/main/java/net/minecraft/server/NetServerHandler.java
@@ -1407,7 +1407,7 @@ public class NetServerHandler extends NetHandler {
itemstack1 = this.player.inventory.getItemInHand();
if (itemstack != null && itemstack.id == Item.BOOK_AND_QUILL.id && itemstack.id == itemstack1.id) {
- itemstack1.setTag(itemstack.getTag());
+ itemstack1.a("pages", itemstack.getTag().getList("pages")); // CraftBukkit
}
} catch (Exception exception) {
exception.printStackTrace();