diff options
author | EvilSeph <evilseph@gmail.com> | 2012-11-20 17:40:39 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-11-20 19:37:01 -0500 |
commit | fed863049dce79f240bd4d38c04582c8dfc583e8 (patch) | |
tree | 7a526f41a85c77d5f21711431d9622f1cf34fcad /src/main/java/net | |
parent | a17ca07fe84e48a8a6cfa5e0675e469e41496cf8 (diff) | |
download | craftbukkit-fed863049dce79f240bd4d38c04582c8dfc583e8.tar craftbukkit-fed863049dce79f240bd4d38c04582c8dfc583e8.tar.gz craftbukkit-fed863049dce79f240bd4d38c04582c8dfc583e8.tar.lz craftbukkit-fed863049dce79f240bd4d38c04582c8dfc583e8.tar.xz craftbukkit-fed863049dce79f240bd4d38c04582c8dfc583e8.zip |
Update invalidItems array. Fixes BUKKIT-2554.
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 2 |
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 004ef08a..079c5c56 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -103,7 +103,7 @@ public class NetServerHandler extends NetHandler { public CraftPlayer getPlayer() { return (this.player == null) ? null : (CraftPlayer) this.player.getBukkitEntity(); } - private final static HashSet<Integer> invalidItems = new HashSet<Integer>(java.util.Arrays.asList(8, 9, 10, 11, 26, 34, 36, 51, 52, 55, 59, 60, 63, 64, 68, 71, 75, 78, 83, 90, 92, 93, 94, 95)); + private final static HashSet<Integer> invalidItems = new HashSet<Integer>(java.util.Arrays.asList(8, 9, 10, 11, 26, 34, 36, 43, 51, 52, 55, 59, 60, 62, 63, 64, 68, 71, 74, 75, 83, 90, 92, 93, 94, 95, 104, 105, 115, 117, 118, 119, 125, 127, 132, 137, 140, 141, 142, 144)); // TODO: Check after every update. // CraftBukkit end public void d() { |