-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add support for bows #24
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey 👋
Sorry for the late response, I just didn't receive a notification that you opened the pr ^^
Looks good so far! You'd still need to bump the version in the build.gradle.kts
though :)
@@ -55,6 +56,7 @@ private void migrateFromOne(ConfigurationVersionUpdateEvent event) { | |||
pickaxe = config.get("pickaxePercentage").getAsInt(); | |||
axe = config.get("axePercentage").getAsInt(); | |||
shovel = config.get("shovelPercentage").getAsInt(); | |||
bow = config.get("bowPercentage").getAsInt(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be removed as it would throw an exception resulting in every other value not being migrated
bow = config.get("bowPercentage").getAsInt(); |
Removed the code for the migration. What is the version in build.gradle.kts used for? Just the project version? Sorry, I'm not often working with gradle or java in general. Edit: Figured it out myself by looking at your releases. Bumped the version to 1.4.2. |
yea its the labymod addon version ^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good. thanks for the pr :D
it's released on FlintMC now. only thing left is waiting until nico approves it |
Alright, great! Now is probably a good time to say thank you for this add-on, it really saved my tools a bunch of times :) |
thanks! it means a lot to me 😄 |
Fixes my issue opened in #23
Accidentally added bows to migration from config v1, probably shouldn't matter though. If not, I can remove it.