uSkyBlock icon indicating copy to clipboard operation
uSkyBlock copied to clipboard

/usb nbt set throws InvocationTargetException

Open Muspah opened this issue 5 years ago • 1 comments

image

version [16:18:18 INFO]: This server is running Paper version git-Paper-35 (MC: 1.15.1) (Implementing API version 1.15.1-R0.1-SNAPSHOT) [16:18:18 INFO]: Checking version, please wait... [16:18:18 INFO]: Previous version: git-Paper-33 (MC: 1.15.1) [16:18:18 INFO]: You are running the latest version usb version [16:18:21 INFO]: Name: uSkyBlock [16:18:21 INFO]: Version: 2.8.7-SNAPSHOT [16:18:21 INFO]: Description: Ultimate SkyBlock v2.8.7-SNAPSHOT-2592123 [16:18:21 INFO]: Language: en (en) [16:18:21 INFO]: State: d=128, r=64, i=71, p=83, n=true, awe=false [16:18:21 INFO]: Server: Paper git-Paper-35 (MC: 1.15.1) [16:18:21 INFO]: State: online=true, bungee=true [16:18:21 INFO]: ------------------------------ [16:18:21 INFO]: Vault 1.7.2-b107 (ENABLED) [16:18:21 INFO]: WorldEdit 7.1.0-SNAPSHOT;4787-aeb8935 (ENABLED) [16:18:21 INFO]: WorldGuard 7.0.2-SNAPSHOT;1993-c5355ad (ENABLED) [16:18:21 INFO]: Multiverse-Core 4.1.0-b775 (ENABLED) [16:18:21 INFO]: Multiverse-NetherPortals 4.1.0-b763 (ENABLED) [16:18:21 INFO]: ------------------------------

Muspah avatar Jan 08 '20 15:01 Muspah

Created the issue quickly before I had to leave, encountered this while changing some deprecated calls in admin/NBTCommand. The exception on itself is correct, we're trying to add invalid NBT data. Point of interest is the way USB handles this, which is something that others have complained about, only by logging the exception in the server log. There is no feedback to the ingame user trying to executing this command.

Using /usb nbt add while giving it invalid NBT data also throws uncaught NPE.

Muspah avatar Jan 09 '20 12:01 Muspah