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

Fix GoalSelector crash #21

Closed
wants to merge 1 commit into from
Closed

Fix GoalSelector crash #21

wants to merge 1 commit into from

Conversation

Neovitalism
Copy link

Fixes crash caused by removing all goals - See crash report here.

Removing goals is redundant as Minecraft handles goals not being run while the entity has a passenger (Example: WanderAroundGoal#canStart())

I also changed it so the player must have an empty hand, as pokemon can hold more than just cobblemon items.

I also bumped version and changed the gradle from 48GB to 2GB because that absolutely demolished my 16GB RAM PC and is not needed lmao

Fixes crash caused by removing all goals - https://pastebin.com/YkKb9xhd

Removing goals is redundant as Minecraft handles goals not being run while the entity has a passenger (Example: `WanderAroundGoal#canStart()`)

I also changed it so the player must have an empty hand, as pokemon can hold more than just cobblemon items.

I also bumped version and changed the gradle from 48GB to 2GB because that absolutely demolished my 16GB RAM PC and is not needed lmao
Copy link
Owner

@IoIxD IoIxD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hand check, as is, is intentional. In average Minecraft survival, it's not uncommon to have a full inventory with items you can't easily throw away, and I think it's more convienent if the player can just mount the Pokemon with an item. The check for whether they have a Cobblemon item is a fair compromise in my opinion.

@Neovitalism
Copy link
Author

Could always just turn it into a config option, that change was requested of me when patching the crash

@IoIxD
Copy link
Owner

IoIxD commented Feb 26, 2024

Feel free to turn it into a config option then, although given that whoever asked you was the first to ask in several months of this mod being out I think that the current option should be the default.

@Neovitalism
Copy link
Author

Neovitalism commented Feb 26, 2024

Aye, shame on them for not asking for it directly then lol - had forked this before to make that exact change for someone months ago too

But ye, gotchu on default config option when I do get a minute

@VOrlando520
Copy link

No one has asked because not many base users are aware of the repo or github in general and getting hold of you in your help channel in the cobblemon discord is near impossible lol

@IoIxD
Copy link
Owner

IoIxD commented Mar 2, 2024

Fair enough.
I stopped checking the channel after most of the discussion started becoming diplicate questions that others could answer. Sort of relied on people to ping me if they had new questions.

@Neovitalism Neovitalism closed this by deleting the head repository Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants