This commit is contained in:
NotMyFault 2019-03-27 15:38:21 +01:00
parent 712479adbb
commit 8623dd0009
2 changed files with 4 additions and 3 deletions

View File

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

View File

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