Skip to content

Download command without  #12

@MrJoshuaT

Description

@MrJoshuaT

Expected behavior

Use of //download command without a clipboard should present a friendly error

Actual behavior

Console and user error

[13:07:30] [Server thread/ERROR]: [FaweSchematicCloud] Exception executing command handler
com.sk89q.worldedit.EmptyClipboardException: null
at com.sk89q.worldedit.LocalSession.getClipboard(LocalSession.java:830) ~[FastAsyncWorldEdit-Bukkit-2.6.4-SNAPSHOT-PSv7-PR.jar:?]
at dev.themeinerlp.faweschematiccloud.commands.DownloadCommand.download(DownloadCommand.kt:23) ~[FaweSchematicCloud-1.0.0-SNAPSHOT+5e14ec8-all.jar:?]

image

Steps to reproduce

Don't do //copy, just straight //download

Plugin and Datapack List

[13:33:36 INFO]: - AntiSpamKickPlugin, Arceon, Builders-Utilities, CustomCommands, DeluxeMenus, DiscordSRV, Essentials, EssentialsChat, FastAsyncVoxelSniper, FastAsyncWorldEdit
[13:33:36 INFO]: FaweSchematicCloud, GCore, goBrush, goPaint, GSit, HeadDatabase, LuckPerms, MetaBrushes, Multiverse-Core, PlaceholderAPI
[13:33:36 INFO]: PlotSquared, *StayPut, Vault, *VoidWorld

Paper version

Paper version git-Paper-49 (MC: 1.20.1)

Plugin version

FaweSchematicCloud version 1.0.0-SNAPSHOT+5e14ec8

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions