You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (classInfosByCodeName.containsKey(info.getCodeName()))
90
-
thrownewIllegalArgumentException("Can't register " + info.getC().getName() + " with the code name " + info.getCodeName() + " because that name is already used by " + classInfosByCodeName.get(info.getCodeName()));
91
-
if (exactClassInfos.containsKey(info.getC()))
92
-
thrownewIllegalArgumentException("Can't register the class info " + info.getCodeName() + " because the class " + info.getC().getName() + " is already registered");
93
-
if (info.getCodeName().length() > DatabaseStorage.MAX_CLASS_CODENAME_LENGTH)
94
-
thrownewIllegalArgumentException("The codename '" + info.getCodeName() + "' is too long to be saved in a database, the maximum length allowed is " + DatabaseStorage.MAX_CLASS_CODENAME_LENGTH);
if (classInfosByCodeName.containsKey(info.getCodeName()))
91
+
thrownewIllegalArgumentException("Can't register " + info.getC().getName() + " with the code name " + info.getCodeName() + " because that name is already used by " + classInfosByCodeName.get(info.getCodeName()));
92
+
if (exactClassInfos.containsKey(info.getC()))
93
+
thrownewIllegalArgumentException("Can't register the class info " + info.getCodeName() + " because the class " + info.getC().getName() + " is already registered");
94
+
if (info.getCodeName().length() > DatabaseStorage.MAX_CLASS_CODENAME_LENGTH)
95
+
thrownewIllegalArgumentException("The codename '" + info.getCodeName() + "' is too long to be saved in a database, the maximum length allowed is " + DatabaseStorage.MAX_CLASS_CODENAME_LENGTH);
# whenever you create new scripts with new variables.
152
152
153
153
disable variable will not be saved warnings: false
154
-
#Disables the "... i.e contents cannot be saved ..." warning when reloading and something in your scripts sets a variable(non local) to a value that is not serializable.
155
-
#By Mirre.
154
+
# Disables the "... i.e contents cannot be saved ..." warning when reloading and something in your scripts sets a variable(non local) to a value that is not serializable.
155
+
# By Mirre.
156
+
157
+
soft api exceptions: false
158
+
# Allows Skript to ignore certain actions which would normally result in thrown exceptions.
159
+
# If everything works correctly, you should keep this option disabled. It might cause problems in some cases.
160
+
# However, if Skript or addons of it are not working correctly, this might help.
161
+
# You may also get told to enable this by Skript or addon developers - then do so.
0 commit comments