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 Report]: Gilded Glory Armor is inconsistent. #84

Open
Creepachu43 opened this issue Jul 30, 2023 · 2 comments
Open

[Bug Report]: Gilded Glory Armor is inconsistent. #84

Creepachu43 opened this issue Jul 30, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Creepachu43
Copy link

Describe the bug; What happened?

The Gilded Glory Armor activates when the wearer has Hero Of The Village. Right clicking with 10 emeralds give the wearer Hero of the village until they die. However, the problem is with the Hero of the Village effect it gives. It seems that the armor gives the player 2 seconds of Hero of the Village and when the timer goes down to 1 second it is reset to 2. However, if the player is unloaded for more than 2 seconds, for instance, when teleporting or loading a new area via JourneyMap, the effect is not refreshed. I was able to fix this by creating a command block chain which checks if a player has hero of the village and then if they are wearing the gilded glory armor and if so then it applies Hero of the Villager for 9999 seconds, which is an indefinite effect in Minecraft. This seems to have fixed the issue and the effect still goes away after the user dies and false idol activates.

Expected Behavior

Instead of the Hero of the village effect being set to 2 seconds it should be set to 9999.

Mod Version

1.19.2

Minecraft Launcher

CurseForge

Operating System

Windows

Modpack

BigChadGuysPlus

Additional context

Thank you for reading, hopefully this actually works as it has for me and is helpful for the betterment of the mod. I just wanted to bring it up since I noticed it and thought it might be worth looking in to.

@chronosacaria
Copy link
Owner

Thanks for catching this edge case :)

@chronosacaria chronosacaria added the bug Something isn't working label Jul 30, 2023
@Creepachu43
Copy link
Author

Thanks for catching this edge case :)
Yeah of course, happy to help. Also I meant that the effect goes away as intended when Gilded Totem activates, not when False Idol activates, but you probably assumed that. :)

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

3 participants