summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntitySmallFireball.java
diff options
context:
space:
mode:
authormyiume <cursed_kidd@yahoo.com>2014-02-19 15:40:37 +0200
committerturt2live <travpc@gmail.com>2014-08-17 00:17:02 -0600
commit4507cec090af201ea73436341933ffd801e521d6 (patch)
tree30a6269e9bd853c618bbed3e78eca7cee72245b7 /src/main/java/net/minecraft/server/EntitySmallFireball.java
parentb3e83b00fc54eb04c1a527383711b04abf6985bd (diff)
downloadcraftbukkit-4507cec090af201ea73436341933ffd801e521d6.tar
craftbukkit-4507cec090af201ea73436341933ffd801e521d6.tar.gz
craftbukkit-4507cec090af201ea73436341933ffd801e521d6.tar.lz
craftbukkit-4507cec090af201ea73436341933ffd801e521d6.tar.xz
craftbukkit-4507cec090af201ea73436341933ffd801e521d6.zip
Fix PlayerFishEvent not correctly cancelling. Fixes BUKKIT-5396
Prior to this commit cancelling the PlayerFishEvent would cause various states of the fishing routine to be incorrectly or wrongly fired. This incorrect behaviour was due to the miscommunication between the server and client regarding the fishing state. When the event was cancelled, the bobber entity was removed and caused the client to incorrectly determine what the "next state" was to logically be. This commit resolves the issue by ensuring the client is made aware of the correct changes at the correct time regarding the bobber entity, therefore keeping the logical steps of "fishing" proper and in-tact.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntitySmallFireball.java')
0 files changed, 0 insertions, 0 deletions