Skip to content

Commit

Permalink
Move config and fflag to config package
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed Dec 27, 2024
1 parent eae4118 commit bc106ba
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.oliver.fancyholograms;
package de.oliver.fancyholograms.config;

import de.oliver.fancyholograms.api.FancyHologramsPlugin;
import de.oliver.fancyholograms.api.HologramConfiguration;
Expand All @@ -12,7 +12,7 @@
* The FancyHologramsConfig class is responsible for managing the configuration of the FancyHolograms plugin.
* It handles loading and saving hologram data, as well as providing access to various configuration settings.
*/
public final class FancyHologramsConfiguration implements HologramConfiguration {
public final class FHConfiguration implements HologramConfiguration {

/**
* Indicates whether version notifications are muted.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.oliver.fancyholograms;
package de.oliver.fancyholograms.config;

import de.oliver.fancyholograms.main.FancyHolograms;
import de.oliver.fancylib.featureFlags.FeatureFlag;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package de.oliver.fancyholograms.listeners;

import de.oliver.fancyholograms.FHFeatureFlags;
import de.oliver.fancyholograms.api.events.HologramShowEvent;
import de.oliver.fancyholograms.config.FHFeatureFlags;
import de.oliver.fancyholograms.util.PluginUtils;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import de.oliver.fancyanalytics.logger.appender.Appender;
import de.oliver.fancyanalytics.logger.appender.ConsoleAppender;
import de.oliver.fancyanalytics.logger.appender.JsonAppender;
import de.oliver.fancyholograms.FHFeatureFlags;
import de.oliver.fancyholograms.FancyHologramsConfiguration;
import de.oliver.fancyholograms.HologramManagerImpl;
import de.oliver.fancyholograms.api.FancyHologramsPlugin;
import de.oliver.fancyholograms.api.HologramConfiguration;
Expand All @@ -20,6 +18,8 @@
import de.oliver.fancyholograms.commands.FancyHologramsCMD;
import de.oliver.fancyholograms.commands.FancyHologramsTestCMD;
import de.oliver.fancyholograms.commands.HologramCMD;
import de.oliver.fancyholograms.config.FHConfiguration;
import de.oliver.fancyholograms.config.FHFeatureFlags;
import de.oliver.fancyholograms.hologram.version.*;
import de.oliver.fancyholograms.listeners.BedrockPlayerListener;
import de.oliver.fancyholograms.listeners.NpcListener;
Expand Down Expand Up @@ -74,7 +74,7 @@ public final class FancyHolograms extends JavaPlugin implements FancyHologramsPl
.build()
);
private FancyAnalyticsAPI fancyAnalytics;
private HologramConfiguration configuration = new FancyHologramsConfiguration();
private HologramConfiguration configuration = new FHConfiguration();
private HologramStorage hologramStorage = new FlatFileHologramStorage();
private @Nullable HologramManagerImpl hologramsManager;

Expand Down

0 comments on commit bc106ba

Please sign in to comment.