Skip to content

Commit

Permalink
Always register aliased entries with class name as well
Browse files Browse the repository at this point in the history
  • Loading branch information
rainbowdashlabs committed Jun 30, 2024
1 parent efa5046 commit 9cd39cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ plugins {
publishData {
addRepo(Repo.main("", "", false))
addRepo(Repo.snapshot("SNAPSHOT", "", false))
publishingVersion = "2.0.10"
publishingVersion = "2.0.11"
}
version = publishData.getVersion()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ public Map<String, FileConfiguration> getConfigs() {
/**
* Called after constructor and before reload.
* <p>
* Intialize everything here.
* Initialize everything here.
*/
protected void init() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import de.eldoria.eldoutilities.commands.command.AdvancedCommand;
import de.eldoria.eldoutilities.commands.command.AdvancedCommandAdapter;
import de.eldoria.eldoutilities.commands.defaultcommands.FailsaveCommand;
import de.eldoria.eldoutilities.configuration.EldoConfig;
import de.eldoria.eldoutilities.debug.DebugDataProvider;
import de.eldoria.eldoutilities.debug.data.EntryData;
import de.eldoria.eldoutilities.logging.DebugLogger;
Expand Down Expand Up @@ -78,9 +77,8 @@ private static void registerSelf(EldoPlugin eldoPlugin) {
var annotation = clazz.getAnnotation(PluginSerializationName.class);
ConfigurationSerialization.registerClass(clazz,
annotation.value().replace("{plugin}", eldoPlugin.getName().toLowerCase(Locale.ROOT)));
} else {
ConfigurationSerialization.registerClass(clazz);
}
ConfigurationSerialization.registerClass(clazz);
}

EldoUtilities.preWarm(eldoPlugin);
Expand Down

0 comments on commit 9cd39cf

Please sign in to comment.