Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 02:20:07 +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
|
@Deprecated
|
||||||
@CommandPermissions({"worldedit.clipboard.save", "worldedit.schematic.save", "worldedit.schematic.save.other"})
|
@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 {
|
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{
|
public enum BuiltInClipboardFormat implements ClipboardFormat{
|
||||||
/**
|
/**
|
||||||
* The Schematic format used by many software.
|
* The Schematic format used by MCEdit.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
MCEDIT_SCHEMATIC("mcedit", "mce", "schematic") {
|
MCEDIT_SCHEMATIC("mcedit", "mce", "schematic") {
|
||||||
@ -68,7 +68,7 @@ public enum BuiltInClipboardFormat implements ClipboardFormat{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ClipboardWriter getWriter(OutputStream outputStream) throws IOException {
|
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
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren