geforkt von Mirrors/FastAsyncWorldEdit
Deprecate old system, still in use by WG/CB
Dieser Commit ist enthalten in:
Ursprung
e06c8b84b4
Commit
7c1764548d
@ -31,6 +31,8 @@ import java.util.Arrays;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public class CommandsManagerRegistration extends CommandRegistration {
|
public class CommandsManagerRegistration extends CommandRegistration {
|
||||||
|
|
||||||
protected CommandsManager<?> commands;
|
protected CommandsManager<?> commands;
|
||||||
|
@ -35,6 +35,7 @@ import java.util.List;
|
|||||||
/**
|
/**
|
||||||
* An implementation of a dynamically registered {@link org.bukkit.command.Command} attached to a plugin
|
* An implementation of a dynamically registered {@link org.bukkit.command.Command} attached to a plugin
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public class DynamicPluginCommand extends org.bukkit.command.Command implements PluginIdentifiableCommand {
|
public class DynamicPluginCommand extends org.bukkit.command.Command implements PluginIdentifiableCommand {
|
||||||
|
|
||||||
protected final CommandExecutor owner;
|
protected final CommandExecutor owner;
|
||||||
|
@ -30,6 +30,7 @@ import org.bukkit.help.HelpTopicFactory;
|
|||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public class DynamicPluginCommandHelpTopic extends HelpTopic {
|
public class DynamicPluginCommandHelpTopic extends HelpTopic {
|
||||||
|
|
||||||
private final DynamicPluginCommand cmd;
|
private final DynamicPluginCommand cmd;
|
||||||
|
@ -60,6 +60,7 @@ import java.util.Set;
|
|||||||
* @param <T> command sender class
|
* @param <T> command sender class
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("ProtectedField")
|
@SuppressWarnings("ProtectedField")
|
||||||
|
@Deprecated
|
||||||
public abstract class CommandsManager<T> {
|
public abstract class CommandsManager<T> {
|
||||||
|
|
||||||
protected static final Logger logger =
|
protected static final Logger logger =
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* WorldEdit, a Minecraft world manipulation toolkit
|
||||||
|
* Copyright (C) sk89q <http://www.sk89q.com>
|
||||||
|
* Copyright (C) WorldEdit team and contributors
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU Lesser General Public License as published by the
|
||||||
|
* Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This package contains the old command system. It is no longer in use. Please switch
|
||||||
|
* to Piston, Intake, ACF, or similar systems.
|
||||||
|
*/
|
||||||
|
package com.sk89q.minecraft.util.commands;
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren