geforkt von Mirrors/FastAsyncWorldEdit
Anvil commands are currently not implemented
Dieser Commit ist enthalten in:
Ursprung
71b2f488b6
Commit
207d029def
@ -20,6 +20,14 @@ import java.io.IOException;
|
|||||||
|
|
||||||
import static com.google.common.base.Preconditions.checkNotNull;
|
import static com.google.common.base.Preconditions.checkNotNull;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @deprecated Anvil classes were used on versions prior to 1.13 to trim chunks.
|
||||||
|
* The way how it's been done was unsafe and led to issues back the years, hence it
|
||||||
|
* hasn't been implemented in any modern version. Therefore the current
|
||||||
|
* implementation is deprecated for removal without replacement.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
@CommandContainer(superTypes = CommandPermissionsConditionGenerator.Registration.class)
|
@CommandContainer(superTypes = CommandPermissionsConditionGenerator.Registration.class)
|
||||||
public class AnvilCommands {
|
public class AnvilCommands {
|
||||||
|
|
||||||
|
@ -460,14 +460,15 @@ public final class PlatformCommandManager {
|
|||||||
WorldEditCommandsRegistration.builder(),
|
WorldEditCommandsRegistration.builder(),
|
||||||
new WorldEditCommands(worldEdit)
|
new WorldEditCommands(worldEdit)
|
||||||
);
|
);
|
||||||
// TODO: Ping @MattBDev to reimplement 2020-02-04
|
/*
|
||||||
// registerSubCommands(
|
TODO: Ping @MattBDev to reimplement 2020-02-04
|
||||||
// "cfi",
|
registerSubCommands(
|
||||||
// ImmutableList.of("/cfi"),
|
"cfi",
|
||||||
// "CFI commands",
|
ImmutableList.of("/cfi"),
|
||||||
// CFICommandsRegistration.builder(),
|
"CFI commands",
|
||||||
// new CFICommands(worldEdit)
|
CFICommandsRegistration.builder(),
|
||||||
// );
|
new CFICommands(worldEdit)
|
||||||
|
);
|
||||||
registerSubCommands(
|
registerSubCommands(
|
||||||
"/anvil",
|
"/anvil",
|
||||||
ImmutableList.of(),
|
ImmutableList.of(),
|
||||||
@ -475,6 +476,7 @@ public final class PlatformCommandManager {
|
|||||||
AnvilCommandsRegistration.builder(),
|
AnvilCommandsRegistration.builder(),
|
||||||
new AnvilCommands(worldEdit)
|
new AnvilCommands(worldEdit)
|
||||||
);
|
);
|
||||||
|
*/
|
||||||
this.registration.register(
|
this.registration.register(
|
||||||
commandManager,
|
commandManager,
|
||||||
BiomeCommandsRegistration.builder(),
|
BiomeCommandsRegistration.builder(),
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren