diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2014-05-12 23:56:37 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2014-05-13 00:01:23 -0500 |
commit | 65a6e9778506e02510424d60db31b50ce0430868 (patch) | |
tree | 117e0e488a2f68c99513b02fd49e13eda78222ab /src/main/java/net/minecraft/server/PathfinderGoalOcelotAttack.java | |
parent | 5610337b4fa0ab7d8217ecfdc25231d10d572ab4 (diff) | |
download | craftbukkit-65a6e9778506e02510424d60db31b50ce0430868.tar craftbukkit-65a6e9778506e02510424d60db31b50ce0430868.tar.gz craftbukkit-65a6e9778506e02510424d60db31b50ce0430868.tar.lz craftbukkit-65a6e9778506e02510424d60db31b50ce0430868.tar.xz craftbukkit-65a6e9778506e02510424d60db31b50ce0430868.zip |
Handle inventory max stack sizes even better. Fixes BUKKIT-5595
In 7e37cf96 we modified the container logic to handle custom max stack
sizes better and ensure the client stays in sync with this scenario. This
had the effect of sending an extra set slot packet for every inventory
click a player did which was not wanted. These extra packets also cause the
client to recalculate recipes which breaks the result slot for custom
recipes. To avoid the extra packets in general we now only send them if the
max stack is not the one we started with. In the case of a setting a custom
max stack size on a workbench this is still not enough so we also now send
another extra packet to make sure the result slot is always correct.
Diffstat (limited to 'src/main/java/net/minecraft/server/PathfinderGoalOcelotAttack.java')
0 files changed, 0 insertions, 0 deletions