3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-09-06 16:12:51 +02:00

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; 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 {

Datei anzeigen

@ -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(),