Commits
md_5 authored bbe3d58efc4
82 82 | + } |
83 83 | + // CraftBukkit end |
84 84 | |
85 85 | @Override |
86 86 | public int getMaxStackSize() { |
87 87 | - return 1; |
88 88 | + return maxStack; // CraftBukkit |
89 89 | } |
90 90 | |
91 91 | @Override |
92 + | |
93 + | if (j != this.page) { |
94 + | this.page = j; |
95 + | this.update(); |
96 + | - BlockLectern.a(this.getWorld(), this.getPosition(), this.getBlock()); |
97 + | + if (this.world != null) BlockLectern.a(this.getWorld(), this.getPosition(), this.getBlock()); // CraftBukkit |
98 + | } |
99 + | |
100 + | } |
92 101 | |
93 102 | return itemstack; |
94 103 | } |
95 104 | |
96 105 | + // CraftBukkit start |
97 106 | + @Override |
98 107 | + public void sendMessage(IChatBaseComponent ichatbasecomponent) { |
99 108 | + } |
100 109 | + |
101 110 | + @Override |