Dieser Commit ist enthalten in:
NotMyFault 2019-03-27 15:38:21 +01:00
Ursprung 712479adbb
Commit 8623dd0009
2 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

@ -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