Skip to content
This repository was archived by the owner on Oct 25, 2025. It is now read-only.

Comments

Do not allow using more than one gem for cutting#214

Open
AgentK20 wants to merge 2 commits intoTheWinABagel:1.20from
AgentK20:1.20
Open

Do not allow using more than one gem for cutting#214
AgentK20 wants to merge 2 commits intoTheWinABagel:1.20from
AgentK20:1.20

Conversation

@AgentK20
Copy link

@AgentK20 AgentK20 commented Oct 3, 2024

This fixes an exploit where the user may place more than one gem in the gem cutting table and upgrade the entire stack to a higher tier. I'm not 100% that this is an exploit, but it seems pretty broken to me to be able to convert 64 tier 1 gems into 60 tier 5 gems, rather than the expected halving operation that is implied by documentation, but for my server at least I wanted to patch this.

Unfortunately I'm not the best at modding, so this is kind of a janky fix that works at the cost of requiring users to separate their gems into individual-item stacks before they are allowed to place them into the gem cutting table. Please let me know if there's a better way to do this.

@AgentK20
Copy link
Author

Poke about this @TheWinABagel

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant