Skip to content

Commit

Permalink
Update Plugin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
AshlyneS committed Aug 21, 2023
1 parent b898064 commit b9ca656
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/net/foxgenesis/watame/plugin/Plugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import java.lang.module.ModuleDescriptor.Version;
import java.nio.file.Path;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.Properties;
import java.util.Set;
Expand Down Expand Up @@ -54,7 +53,7 @@ public abstract class Plugin {
* Plugin configurations
*/
@NotNull
private final HashMap<String, PropertiesConfiguration> configs = new HashMap<>();
private final HashMap<String, Configuration> configs = new HashMap<>();

/**
* Path to the plugin's configuration folder
Expand Down Expand Up @@ -141,7 +140,6 @@ public Plugin() throws SeverePluginException {
}

// Load configurations if they are present
Map<String, Configuration> configs = new HashMap<>();
if (c.isAnnotationPresent(PluginConfiguration.class)) {
PluginConfiguration[] configDeclares = c.getDeclaredAnnotationsByType(PluginConfiguration.class);

Expand Down

0 comments on commit b9ca656

Please sign in to comment.