9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-27 10:59:16 +00:00

Improved fix of MC-298464 (#524)

* Improved fix of MC-298464

* Remove configurable & cleanup

* [ci skip] Fix patch order
This commit is contained in:
Creeam
2025-10-13 12:29:05 +08:00
committed by GitHub
parent 667f15c124
commit 3994984604
24 changed files with 55 additions and 70 deletions

View File

@@ -1,18 +0,0 @@
package org.dreeam.leaf.config.modules.fixes;
import org.dreeam.leaf.config.ConfigModules;
import org.dreeam.leaf.config.EnumConfigCategory;
public class MC298464 extends ConfigModules {
public String getBasePath() {
return EnumConfigCategory.FIXES.getBaseKeyName();
}
public static boolean enabled = false;
@Override
public void onLoaded() {
enabled = config.getBoolean(getBasePath() + ".fix-mc298464", enabled);
}
}