yeelp / Scaling-Feast

A simple, balanced way to increase your maximum hunger in Minecraft over the course of a world.
MIT License
0 stars 1 forks source link

Log spam: "foodEfficiency:1.0" printed every tick while you walk/sprint. #80

Closed James103 closed 4 years ago

James103 commented 4 years ago

Mod Version: scalingfeast-1.5.0 Minecraft Version: 1.12.2 Loaded Mods: (Reproducible with just Scaling Feast)

Describe the bug Log spam: "foodEfficiency:1.0" occurs regardless of if you have any modifiers affecting your food efficiency (such as a diamond shovel). Originates from here: https://github.com/yeelp/Scaling-Feast/blob/a4560906fd6f9b9121fb7760b6a9fb9daaeee1f8/src/main/java/yeelp/scalingfeast/handlers/FoodHandler.java#L133

Steps to Reproduce

  1. /give @p minecraft:diamond_chestplate 1 0 {AttributeModifiers:[{AttributeName:"scalingfeast.foodEfficiency",Name:"scalingfeast.foodEfficiency",Amount:1,Operation:2,UUIDLeast:629237,UUIDMost:992869,Slot:"chest"}]}

Expected behavior No such log spam.

Screenshots (It's just repeating the same line: [09:43:38] [Server thread/INFO] [scalingfeast]: [SCALING FEAST] foodEfficiency:1.0) image

yeelp commented 4 years ago

Yup, I once again, left debug mode on when I released this, like I usually do. Already addressed this. Can get a release out for this in a couple days probably.