Fix CreateKitCommand
Some checks failed
SteamWarCI Build failed

This commit is contained in:
2026-04-23 11:59:28 +02:00
parent 25116c3865
commit 703639537d

View File

@@ -19,6 +19,7 @@
package de.steamwar.bausystem.features.dev;
import de.steamwar.bausystem.BauSystem;
import de.steamwar.command.SWCommand;
import de.steamwar.linkage.Linked;
import org.bukkit.configuration.file.YamlConfiguration;
@@ -29,11 +30,10 @@ import java.io.IOException;
@Linked
public class CreateKitCommand extends SWCommand {
public CreateKitCommand() {
super("createkit");
if (System.getProperty("user.name").equals("minecraft")) {
unregister();
}
if (!BauSystem.DEV_SERVER) unregister();
}
@Register