Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 18:10:08 +01:00
Fixes #80
Dieser Commit ist enthalten in:
Ursprung
712479adbb
Commit
8623dd0009
@ -277,7 +277,8 @@ public class SchematicCommands extends MethodCommands {
|
||||
}
|
||||
}
|
||||
|
||||
@Command(aliases = {"save"}, usage = "[format] <filename>", desc = "Save a schematic into your clipboard")
|
||||
@Command(
|
||||
aliases = {"save"}, usage = "[format] <filename>", desc = "Save a schematic into your clipboard", help = "The default format for 1.13 is schem")
|
||||
@Deprecated
|
||||
@CommandPermissions({"worldedit.clipboard.save", "worldedit.schematic.save", "worldedit.schematic.save.other"})
|
||||
public void save(final Player player, final LocalSession session, @Optional("schem") final String formatName, String filename, @Switch('g') boolean global) throws CommandException, WorldEditException {
|
||||
|
@ -50,7 +50,7 @@ import com.sk89q.jnbt.Tag;
|
||||
*/
|
||||
public enum BuiltInClipboardFormat implements ClipboardFormat{
|
||||
/**
|
||||
* The Schematic format used by many software.
|
||||
* The Schematic format used by MCEdit.
|
||||
*/
|
||||
@Deprecated
|
||||
MCEDIT_SCHEMATIC("mcedit", "mce", "schematic") {
|
||||
@ -68,7 +68,7 @@ public enum BuiltInClipboardFormat implements ClipboardFormat{
|
||||
|
||||
@Override
|
||||
public ClipboardWriter getWriter(OutputStream outputStream) throws IOException {
|
||||
throw new UnsupportedOperationException("No longer supported.");
|
||||
throw new IOException("This format does not support saving, use `schem` as format");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren