mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 09:17:39 +00:00
Fixes #80
This commit is contained in:
parent
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
|
||||
|
Loading…
Reference in New Issue
Block a user