Mods / No offline food spoil

Category: #Food #QoL #Tweak
Author: Wiltoga
Side: Server
Created: Oct 10th 2023 at 7:43 AM
Last modified: Jan 11th at 8:40 PM
Downloads: 1929
Follow Unfollow 73

Latest file for v1.18.15:
OfflineFoodNoSpoil_1.2.0.zip 1-click install


Only works server-side, no need to install on client.

 

When a player disconnects from a server, all its food stored in his own inventory (not his chests nor anything accessible from other players) no longer spoils. So when you go adventuring outside and you disconnect with a stack of red beef, you don't have a stack of rotten food when you come back, for example.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.2.0 887 Jan 11th at 8:40 PM Show OfflineFoodNoSpoil_1.2.0.zip Install now
v1.1.1 579 Oct 12th 2023 at 4:39 PM Show OfflineFoodNoSpoil_1.1.1.zip Install now
v1.1.0 123 Oct 12th 2023 at 8:14 AM Show OfflineFoodNoSpoil_1.1.0.zip Install now
v1.0.1 167 Oct 10th 2023 at 7:39 PM Show OfflineFoodNoSpoil_1.0.1.zip Install now
v1.0.0 173 Oct 10th 2023 at 7:46 AM Show OfflineFoodNoSpoil_1.0.0.zip Install now

4 Comments (oldest first | newest first)

💬 Klos, Jun 2nd at 6:47 PM

I second the player data corruption with Butchering mod. We've had to wipe player data quite a few times. WhiskeySunshine

💬 WhiskeySunshine, May 5th at 11:57 PM

The mod works fine in 1.19.7 stable but is incompatible with butchering in that, if you have animal corpses in a backpack slot, it will cause an "object reference not set to an instance of an object" null reference exception that requires wiping player data to reconnect to the world or server.

💬 KonaCoffeeDrgn, Jan 21st at 5:42 AM

Seems to work for 1.19.1 (At least does not crash to desktop)

💬 Telemachus, Oct 21st 2023 at 12:44 PM

Had a crash with this mod enabled. Crash log here.

Context: I was knapping a flint knife head - using Nats Survival Expanded mod. The last piece of flint I had broke, and then I CTD'd. 

I could not load the world again after this. It immediately CTD'd with that same crash log each time. The crash log does not indicate any specific mod to be the cause, however, after painstakingly trying to load the world a few mods at a time, I narrowed it down to the OfflineNoFoodSpoil mod. Once that was removed, I could finally load the world again, and I've been playing as normal. 

I'm not well versed in C# whatsoever, so I doubt that I'm interpreting the crash log correctly, but it almost seems like there was some issue in the base game code itself. I hope you'll be able to make something of it. I'd really like to add this mod back to our server. ✌🙏

(edit comment delete)