forked from SteamWar/SteamWar
Remove lockreplay ModifyPart
This commit is contained in:
+1
-7
@@ -26,8 +26,8 @@ import de.steamwar.schematicsystem.CheckSchemType;
|
|||||||
import de.steamwar.schematicsystem.SafeSchematicNode;
|
import de.steamwar.schematicsystem.SafeSchematicNode;
|
||||||
import de.steamwar.schematicsystem.SchematicSystem;
|
import de.steamwar.schematicsystem.SchematicSystem;
|
||||||
import de.steamwar.schematicsystem.autocheck.AutoChecker;
|
import de.steamwar.schematicsystem.autocheck.AutoChecker;
|
||||||
import de.steamwar.schematicsystem.commands.schematiccommand.SchematicCommandUtils;
|
|
||||||
import de.steamwar.schematicsystem.commands.schematiccommand.SchematicCommand;
|
import de.steamwar.schematicsystem.commands.schematiccommand.SchematicCommand;
|
||||||
|
import de.steamwar.schematicsystem.commands.schematiccommand.SchematicCommandUtils;
|
||||||
import de.steamwar.sql.*;
|
import de.steamwar.sql.*;
|
||||||
import net.md_5.bungee.api.ChatColor;
|
import net.md_5.bungee.api.ChatColor;
|
||||||
import net.md_5.bungee.api.chat.ClickEvent;
|
import net.md_5.bungee.api.chat.ClickEvent;
|
||||||
@@ -174,12 +174,6 @@ public class ModifyPart extends SWCommand {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Register("lockreplay")
|
|
||||||
public void lockreplay(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node) {
|
|
||||||
node.setAllowReplay(false);
|
|
||||||
SchematicSystem.MESSAGE.send("COMMAND_LOCKREPLAY", player, node.getName());
|
|
||||||
}
|
|
||||||
|
|
||||||
@Register("replacecolor")
|
@Register("replacecolor")
|
||||||
public void replacecolor(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node) {
|
public void replacecolor(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node) {
|
||||||
boolean state = !node.replaceColor();
|
boolean state = !node.replaceColor();
|
||||||
|
|||||||
Reference in New Issue
Block a user