Skip to content

Commit

Permalink
Resolvido problema ao recarregar caixas
Browse files Browse the repository at this point in the history
  • Loading branch information
SrBedrock committed Nov 3, 2024
1 parent 34f274a commit e072b4d
Show file tree
Hide file tree
Showing 5 changed files with 317 additions and 434 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sources=https://github.com/Crazy-Crew/CrazyCrates
issues=https://github.com/Crazy-Crew/CrazyCrates/issues
group=com.badbones69.crazycrates
description=Add unlimited crates to your server with 10 different crate types to choose from!
version=1.24
version=1.25.0
apiVersion=1.20
mcVersion=1.20.4
isBeta=false
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class CrazyHandler extends CrazyCratesPlugin {
private CrateManager crateManager;
private FileManager fileManager;

public CrazyHandler(CrazyCrates plugin) {
public CrazyHandler(@NotNull final CrazyCrates plugin) {
super(plugin.getDataFolder());
}

Expand Down Expand Up @@ -56,7 +56,7 @@ public void load() {
this.userManager = new BukkitUserManager();

// Load commands.
CommandManager commandManager = new CommandManager();
final CommandManager commandManager = new CommandManager();
commandManager.load();
}

Expand All @@ -69,11 +69,6 @@ public void cleanFiles() {
Files.LOCATIONS.getFile().set("Locations.Clear", null);
Files.LOCATIONS.saveFile();
}

// if (!Files.DATA.getFile().contains("Players")) {
// Files.DATA.getFile().set("Players.Clear", null);
// Files.DATA.saveFile();
// }
}

@NotNull
Expand Down
Loading

0 comments on commit e072b4d

Please sign in to comment.