fixes to scarpet 1.5
This commit is contained in:
1 parent
701a717135
commit
6524725245
11 files changed
+129
-30
No files matched your search
@@ -174,8 +174,8 @@ public class CarpetSettings
|
||||
|
||||
@Rule(
|
||||
desc = "Enables /log command to monitor events in the game via chat and overlays",
|
||||
category = COMMAND,
|
||||
validate = Validator.WIP.class
|
||||
category = COMMAND//,
|
||||
//validate = Validator.WIP.class
|
||||
)
|
||||
public static boolean commandLog = true;
|
||||
|
||||
|
||||
@@ -74,6 +74,12 @@ public class SettingsManager
|
||||
notifyPlayersCommandsChanged();
|
||||
}
|
||||
|
||||
public void detachServer()
|
||||
{
|
||||
for (ParsedRule<?> rule : rules.values()) rule.resetToDefault(server.getCommandSource());
|
||||
server = null;
|
||||
}
|
||||
|
||||
public void parseSettingsClass(Class settingsClass)
|
||||
{
|
||||
for (Field f : settingsClass.getDeclaredFields())
|
||||
|
||||
Reference in new issue
Block a user