Anvil commands are currently not implemented

Dieser Commit ist enthalten in:
NotMyFault 2021-04-22 20:36:36 +02:00
Ursprung 71b2f488b6
Commit 207d029def
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C
2 geänderte Dateien mit 18 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -20,6 +20,14 @@ import java.io.IOException;
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)
public class AnvilCommands {

Datei anzeigen

@ -460,14 +460,15 @@ public final class PlatformCommandManager {
WorldEditCommandsRegistration.builder(),
new WorldEditCommands(worldEdit)
);
// TODO: Ping @MattBDev to reimplement 2020-02-04
// registerSubCommands(
// "cfi",
// ImmutableList.of("/cfi"),
// "CFI commands",
// CFICommandsRegistration.builder(),
// new CFICommands(worldEdit)
// );
/*
TODO: Ping @MattBDev to reimplement 2020-02-04
registerSubCommands(
"cfi",
ImmutableList.of("/cfi"),
"CFI commands",
CFICommandsRegistration.builder(),
new CFICommands(worldEdit)
);
registerSubCommands(
"/anvil",
ImmutableList.of(),
@ -475,6 +476,7 @@ public final class PlatformCommandManager {
AnvilCommandsRegistration.builder(),
new AnvilCommands(worldEdit)
);
*/
this.registration.register(
commandManager,
BiomeCommandsRegistration.builder(),