forked from SteamWar/SteamWar
Fix CreateKitCommand
This commit is contained in:
+3
-3
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
package de.steamwar.bausystem.features.dev;
|
package de.steamwar.bausystem.features.dev;
|
||||||
|
|
||||||
|
import de.steamwar.bausystem.BauSystem;
|
||||||
import de.steamwar.command.SWCommand;
|
import de.steamwar.command.SWCommand;
|
||||||
import de.steamwar.linkage.Linked;
|
import de.steamwar.linkage.Linked;
|
||||||
import org.bukkit.configuration.file.YamlConfiguration;
|
import org.bukkit.configuration.file.YamlConfiguration;
|
||||||
@@ -29,11 +30,10 @@ import java.io.IOException;
|
|||||||
|
|
||||||
@Linked
|
@Linked
|
||||||
public class CreateKitCommand extends SWCommand {
|
public class CreateKitCommand extends SWCommand {
|
||||||
|
|
||||||
public CreateKitCommand() {
|
public CreateKitCommand() {
|
||||||
super("createkit");
|
super("createkit");
|
||||||
if (System.getProperty("user.name").equals("minecraft")) {
|
if (!BauSystem.DEV_SERVER) unregister();
|
||||||
unregister();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Register
|
@Register
|
||||||
|
|||||||
Reference in New Issue
Block a user