Skip to content

Commit

Permalink
Fixed: Compile error
Browse files Browse the repository at this point in the history
Signed-off-by: DevDrizzy <[email protected]>
  • Loading branch information
DevDrizzy committed Dec 8, 2024
1 parent e5781fb commit 4cdfdb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@

<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.6-R0.1-SNAPSHOT</version>
<groupId>org.paperspigot</groupId>
<artifactId>PaperSpigot</artifactId>
<version>1.8.8</version>
<scope>provided</scope>
</dependency>

Expand Down
5 changes: 0 additions & 5 deletions src/main/java/xyz/refinedev/api/storage/json/JsonStorage.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.bukkit.plugin.java.JavaPlugin;
import xyz.refinedev.api.storage.data.PluginData;

import java.io.File;
import java.io.FileReader;
Expand Down Expand Up @@ -36,10 +35,6 @@ public JsonStorage(String name, JavaPlugin plugin, Gson gson) {
this(name, new File(plugin.getDataFolder().getAbsolutePath() + File.separator + "data"), gson);
}

public JsonStorage(String name, PluginData plugin, Gson gson) {
this(name, new File(plugin.getDataFolder().getAbsolutePath() + File.separator + "data"), gson);
}

public JsonStorage(String name, File directory, Gson gson) {
if (!directory.exists()) {
boolean created = directory.mkdir();
Expand Down

0 comments on commit 4cdfdb3

Please sign in to comment.