Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Disabling easter-egg bees breaks most pages in guide book #351

Open
1 task done
CombatZAK opened this issue Aug 9, 2022 · 1 comment
Open
1 task done
Labels
bug Something isn't working

Comments

@CombatZAK
Copy link

Bug Description

If you set enableEasterEggBees to false in General Options in resourcefulbees/common.toml config file, the Resourceful Bees guidebook fails to load properly and will end up missing a significant number of pages, listed below:

Getting Started

  • Finding Bees
  • Collecting Honeycombs
  • Breeding Bees

Advanced Tips

  • Mutations
  • Powered Centrifuge
  • The Ender Beecon
  • Apiaries
  • Auras

Beekeeping Tools

  • Bee Jar
  • Beehives
  • Scraper
  • Honey Generator
  • Elite Centrifuge
  • Ender Beecon
  • Apiary Storage
  • Honey Glass
  • Honey Congealer
  • Waxed Planks
  • Beepedia
  • Multiblock Centrifuge
  • Bottomless Honeypot

Extras

  • Credits
  • Making your Own

Main page of the guidebook shows a loading error; see screenshot:
image

How to Reproduce?

  1. Load minecraft to auto-generate config files for Resourceful Bees
  2. Create creative world
  3. Add a copy of Fifty Shades of Bees guidebook item to inventory
  4. Observe all pages loaded properly
  5. Close game, edit config/resourcefulbees/common.toml
  6. Under General Options change value of enableEasterEggBees from true to false
  7. Save config file
  8. Reload game
  9. Open guidebook
  10. Observe loading error and missing pages

Expected Behavior

Modifying config values should not break guidebook.

Version

0.10.7

Mod Loader Version

1.16.5-36.2.34

Logs or additional context

Given the specific error message, my guess is that disabling this specific config option prevents the Starry Bee's honey from being registered with minecraft, and the guidebook relies on that ID to load this page. That's causing an unhandled exception and so page-loading stops at this specific point and any subsequent pages are not loaded. Swallowing the exception or just selectively not loading the extra bees section at all would likely fix the problem.

Acknowledgement

  • I agree that I read the terms at the top of the page.
@CombatZAK CombatZAK added the bug Something isn't working label Aug 9, 2022
@CombatZAK
Copy link
Author

Found an acceptable workaround: registering a honey with name starry and a bee named starry.json "tricks" the mod into not failing and lets all the pages load properly. Should probably still get fixed in code, but if anyone else hits this, you can still make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant