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:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user