[SPIGOT-631] Food regen bug when using World.setDifficulty() in onEnable() Created: 01/Mar/15 Updated: 27/May/15 Resolved: 01/Mar/15 |
|
Status: | Closed |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | Spigot 1.8.3 |
Type: | Bug | Priority: | Major |
Reporter: | Cyril Glapa | Assignee: | Thinkofname |
Resolution: | Fixed | Votes: | 0 |
Labels: | 1.8, Craftbukkit, bug | ||
Environment: |
Craftbukkit 1.8 (version git-Bukkit-33d5de3) on Windows 7 |
Description |
Hi there, I found a bug on visual food regen if we use World.setDifficulty() in a plugin onEnable(): the food visually keeps onEnable() difficulty even if we change it after (like using /difficulty or later World.setDifficulty). What's the problem in a nutshell? I have made a test plugin like this, and it makes this: How to reproduice?
|
Comments |
Comment by Cyril Glapa [ 01/Mar/15 ] |
Wow, that was quick! Thanks <3 |
Comment by Thinkofname [ 01/Mar/15 ] |
Fixed in 1.8.3 Thanks |