squeek502 / SpiceOfLife

A Minecraft mod that encourages dietary variety through diminishing returns
The Unlicense
23 stars 26 forks source link

Lettuce Crash #166

Closed Hexidecimark closed 4 years ago

Hexidecimark commented 4 years ago

Occurred on a SpongeForge server today. Running as food mods Pam's, Spice of Life, and Spice of Life: Carrot edition, of which it seems Spice of Life was the likeliest culprit, as it adjusts food saturation. This is an exceedingly uncommon issue that has happened only one other time in testing, though no logs were captured from the event.

The issue was eventually solved when the player dropped the erroneous uneaten lettuce, which otherwise caused the same error several seconds after he logged in.

The player's initial error log can be found at: https://mclo.gs/H65aoPN For readability, and has also been attached for longevity. latest (5).log

The error log when trying to log back in can be bound here: https://mclo.gs/N0RPwCs And is also attached: 2020-08-30-3.log

Hexidecimark commented 4 years ago

Error seems to now happen with every food the player eats. No other players affected. Log attached.

https://cdn.discordapp.com/attachments/725012480832569355/749767129695387658/2020-08-30-4.log.gz

squeek502 commented 4 years ago
Hexidecimark commented 4 years ago

It must be the modifications to the formula I've made then. The two are fully compatible as neither interferes with the other at any level. On closer inspection, it seems that my syntax for an IF statement was off, so AppleSkin triggered the error when it called for the value of the food, which called for the second condition, which I had not given.