MCPcopy Create free account
hub / github.com/MCSLTeam/MCSL2 / resetToDefault

Method resetToDefault

MCSL2Lib/variables.py:57–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55 """
56
57 def resetToDefault(self):
58 self.minMem: int
59 self.maxMem: int
60 self.corePath: str = ""
61 self.coreFileName: str = ""
62 self.selectedJavaPath: str = ""
63 self.selectedJavaVersion: str = ""
64 self.memUnit: str = ""
65 self.consoleOutputDeEncoding: str = "follow"
66 self.consoleInputDeEncoding: str = "follow"
67 self.jvmArg: list[str] = [""]
68 self.serverName: str = ""
69 self.icon: str = ""
70 self.serverType = ""
71 self.extraData = {}
72
73
74@Singleton

Callers 3

resetToDefaultMethod · 0.45
_clearNewServerInputsMethod · 0.45
afterInstallingForgeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected