Comments (10)
Ooh, thanks for identifying a cause for this error! Unfortunately, this error being thrown means the player's food data has already been lost. The hope is that crashing will make MC restore from a state where the data was still present, and the alternative would be just silently losing all food data.
It's annoying that this makes it look like our mod is at fault, because I'm pretty sure it's not, but I don't think there's a better option for us?
from spice-of-life-carrot-edition.
How is a food list data connected to the player? if a player dies it seems to not be attached to that player until they hit respawn, is there a way around that, as that could be a fix. (i'm not really sure how minecraft handles death events, or how ya'll are utilizing them).
At this point, the mod hard locks out any player from joining the game due to a corrupted player state, i think a warning for the player and wiping their food list would be far more optimal than what it is currently doing. The only way to fix it currently is to completely wipe out the playerdata so it's no longer corrupted, at which they're losing everything on them and a lot of other progress.
from spice-of-life-carrot-edition.
Hm, actually you might be onto something there. I didn't really stop to think about it, but this might be reproducible with just our mod. If a player dies on a server, leaves instead of respawning, and then logs back in, that may well cause this to be thrown. That would also explain other unexplained Heisenbug reports.
from spice-of-life-carrot-edition.
Hi this happens to me when I added SoL to my vanilla world
from spice-of-life-carrot-edition.
Seems my character was logged out while dead before I added the mod.
from spice-of-life-carrot-edition.
@juliand665 I have played with this mod for awhile. It only has this issue when the player dies. It also prevents the player from logging back into the world. I play on a singleplayer world that is not open to lan mind you. The mod modifies the value for a players health and seemingly is forgetting that value upon player death. I did not get a chance to hit the respawn button. The world closed the moment I died and I am unable to log back in. The only way I've found to fix this is to close the game remove this mod, then reopen the game and then the world.
from spice-of-life-carrot-edition.
@Elfinslayer as I say above. You can get back into the world without wiping the player's data by removing the mod and opening the world without it in. The world will allow you in and then you can readd the mod.
from spice-of-life-carrot-edition.
@border999 Yea I saw your reply. It's nice to have an alternative fix but unfortunately that's still not a reasonable long term solution. They know about the issue and seem to be planning on fixing it, until then we'll just avoid packs with SoL. Thanks though!
from spice-of-life-carrot-edition.
Related Issues (20)
- [Suggestion] Integration with JEI, on food book HOT 4
- Frequently My Milestones Reset | Version 1.10.1 [FORGE] HOT 4
- Player must have food capability attached, but none was found. HOT 8
- Bug minecraft:air? HOT 2
- Suggestions: Disable nourishment in config HOT 2
- Whitelist question HOT 3
- Some eaten foods resetting when re-entering the world HOT 16
- Compatibility-ish. HOT 2
- Not working with Hunger Reworked HOT 1
- Suggestion for how to count Cake as a food HOT 1
- Crash when eating food 1.19.2 HOT 4
- Allow grouping foods for milestones instead of eating a set number of foods HOT 2
- ll hearts disappear when I die ( atm7 ) HOT 2
- loss of hearts randomly HOT 2
- [Request] Track CustomModelData as different item HOT 5
- [1.20.1] Crash with Modernfix? HOT 6
- How do I get health directly using commands? HOT 1
- [1.20.1] Need help HOT 2
- How to use whitelist? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spice-of-life-carrot-edition.