[PR #617] [MERGED] Enum replacer #4818

Closed
opened 2026-05-26 12:22:00 +00:00 by Dark98 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/2006-Scape/2006Scape/pull/617
Author: @advnau
Created: 2/9/2023
Status: Merged
Merged: 2/9/2023
Merged by: @Dark98

Base: masterHead: EnumReplacer


📝 Commits (4)

📊 Changes

3 files changed (+134 additions, -45 deletions)

View changed files

📝 2006Scape Server/src/main/java/com/rs2/game/content/combat/magic/Enchanting.java (+22 -29)
📝 2006Scape Server/src/main/java/com/rs2/game/content/consumables/Beverages.java (+14 -16)
2006Scape Server/src/main/java/com/rs2/util/ConstantReplacer.java (+98 -0)

📄 Description

add tool to replace enum values with constants + replace some enums to test


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/2006-Scape/2006Scape/pull/617 **Author:** [@advnau](https://github.com/advnau) **Created:** 2/9/2023 **Status:** ✅ Merged **Merged:** 2/9/2023 **Merged by:** [@Dark98](https://github.com/Dark98) **Base:** `master` ← **Head:** `EnumReplacer` --- ### 📝 Commits (4) - [`709606f`](https://github.com/2006-Scape/2006Scape/commit/709606ff0ba14f4eff638553d8b782280e877c99) Constants - [`38bcd3c`](https://github.com/2006-Scape/2006Scape/commit/38bcd3cf47a0ef0371ce1e1d9daf86a109761749) Update Enchanting.java - [`a611ec6`](https://github.com/2006-Scape/2006Scape/commit/a611ec684a53f7de1c1841bac4cc120061aeb04e) Update Beverages.java - [`0d6d277`](https://github.com/2006-Scape/2006Scape/commit/0d6d2777ac40ed434529313e3cc8b2fbce19d9b8) Create ConstantReplacer.java ### 📊 Changes **3 files changed** (+134 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `2006Scape Server/src/main/java/com/rs2/game/content/combat/magic/Enchanting.java` (+22 -29) 📝 `2006Scape Server/src/main/java/com/rs2/game/content/consumables/Beverages.java` (+14 -16) ➕ `2006Scape Server/src/main/java/com/rs2/util/ConstantReplacer.java` (+98 -0) </details> ### 📄 Description add tool to replace enum values with constants + replace some enums to test --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Dark98 added the pull-request label 2026-05-26 12:22:00 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#4818