summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntitySpider.java
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2014-05-12 23:56:37 -0500
committerTravis Watkins <amaranth@ubuntu.com>2014-05-13 00:01:23 -0500
commit65a6e9778506e02510424d60db31b50ce0430868 (patch)
tree117e0e488a2f68c99513b02fd49e13eda78222ab /src/main/java/net/minecraft/server/EntitySpider.java
parent5610337b4fa0ab7d8217ecfdc25231d10d572ab4 (diff)
downloadcraftbukkit-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/EntitySpider.java')
0 files changed, 0 insertions, 0 deletions