Open MyPictures opened 8 years ago
MyPictures: "Yea we had this issue once. I think the needed Bukkit Event didn't properly update if a plugin canceled it, we had a temp fix which basically forced the hunger bar to update. Not sure if its broken now."
ProdigyOG: "ProdigyOG:
NCP should send an updateInventory call, otherwise i am not sure if we can do much about it, except hacks, like setting health higher for one tick and then setting it lower again."
ProdigyOG: "asofold:
Isn't updateInventory() deprecated, though?"
asofold: "ProdigyOG:
Deprecated yes, but not yet removed. Bassically it's deprecated, because it is a dirty workaround for some "more complex issue"."
asofold: "Has this been fixed server-side already?"
==What is the problem? What do you expect to see instead?== If a player fails the FastConsume check, the player's hunger bar will reflect that s/he ate the consumable. The hunger bar only reflects the true value when it changes again.
==Can it be reproduced systematically and if so: How?== Have a client with FastEat. Turn it on and eat some food. You will see that the player will fail the FastConsume checks, but their hunger bar will increase as if they ate the food legitimately. The hunger bar only shows the true value when another FoodLevelChangeEvent is fired.
==How easy is it to reproduce? Does it always happen? Does it happen to all players? Does it happen with vanilla clients?== Easy to reproduce with a client w/ this feature. If you don't have this feature, here is some source code: http://pastebin.com/w1FiT6jX
==Versions of NCP+MCAccess and server: Post the full output of the "ncp version" command!== Server: git-Bukkit-1.7.9-R0.1-b3084jnks (MC: 1.7.9) NoCheatPlus: Plugin: 3.10.12-RC-sMD5NET-b700 MCAccess: 1.7.8|1.7.9 / CB3043-DEV
==Details about the configuration file of NCP.== //(Examples: What version of NCP was the config generated with? Did you change anything - if so: add a quick description.)//\ Default on Build 700.
==Do you run any other special plugin next to NC+ (adding skills, machines, adding/changing blocks)?== //(Examples: SpoutPlugin, mcMMO, Heroes, MachinaCraft and others.)//\ No.