Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Exception while edit custom item #429

Open
Assignees
Labels
bugSomething isn't working
@Ste3et

Description

What happened?

A saved item can't be editet again on a 1.21.4/8 server

https://www.youtube.com/watch?v=SWvbAEEOqVQ

How can the bug be reproduced?

Just save a custom item and stop/start your server

Expected Behaviour?

That i can reedit the item after saving

Plugin version

CustomCrafting 4.19.0.2; WolfyUtils 4.19.0.0; NBT-API 2.15.2

Server software

PaperSpigot 1.21.8

Relevant log output

[19:20:13 WARN]: [WolfyUtilities] Unable to load custom data from '{"id":"customcrafting:common_player_data","darkMode":false,"totalCrafts":0,"advancedCrafts":0,"normalCrafts":0,"lightBackground":"none:glass_white","darkBackground":"none:glass_gray"}'! Removing it now to prevent further issues!
[19:20:13 WARN]: [CustomCrafting] Task #6183197 for CustomCrafting v4.19.0.2 generated an exception
java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.meta.ItemMeta.getPersistentDataContainer()" because "itemMeta" is null
 at wolfyutils-spigot-4.19.0.0.jar/me.wolfyscript.utilities.api.inventory.custom_items.CustomItem.lambda$create3ドル(CustomItem.java:615) ~[wolfyutils-spigot-4.19.0.0.jar:?]
 at java.base/java.util.Optional.map(Optional.java:260) ~[?:?]
 at wolfyutils-spigot-4.19.0.0.jar/me.wolfyscript.utilities.api.inventory.custom_items.CustomItem.create(CustomItem.java:611) ~[wolfyutils-spigot-4.19.0.0.jar:?]
 at wolfyutils-spigot-4.19.0.0.jar/me.wolfyscript.utilities.api.inventory.custom_items.CustomItem.create(CustomItem.java:597) ~[wolfyutils-spigot-4.19.0.0.jar:?]
 at customcrafting-spigot-4.19.0.2.jar/me.wolfyscript.customcrafting.gui.item_creator.MenuItemCreator.onUpdateAsync(MenuItemCreator.java:261) ~[customcrafting-spigot-4.19.0.2.jar:?]
 at wolfyutils-spigot-4.19.0.0.jar/me.wolfyscript.utilities.api.inventory.gui.GuiWindow.openInventory(GuiWindow.java:278) ~[wolfyutils-spigot-4.19.0.0.jar:?]
 at wolfyutils-spigot-4.19.0.0.jar/me.wolfyscript.utilities.api.inventory.gui.GuiWindow.lambda$callUpdate1ドル(GuiWindow.java:268) ~[wolfyutils-spigot-4.19.0.0.jar:?]
 at wolfyutils-spigot-4.19.0.0.jar/me.wolfyscript.utilities.api.inventory.gui.GuiWindow.callUpdate(GuiWindow.java:270) ~[wolfyutils-spigot-4.19.0.0.jar:?]
 at wolfyutils-spigot-4.19.0.0.jar/me.wolfyscript.utilities.api.inventory.gui.GuiWindow.lambda$update0ドル(GuiWindow.java:261) ~[wolfyutils-spigot-4.19.0.0.jar:?]
 at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[paper-1.21.8.jar:1.21.8-21-ed31825]
 at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474) ~[paper-1.21.8.jar:1.21.8-21-ed31825]
 at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1662) ~[paper-1.21.8.jar:1.21.8-21-ed31825]
 at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1530) ~[paper-1.21.8.jar:1.21.8-21-ed31825]
 at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1252) ~[paper-1.21.8.jar:1.21.8-21-ed31825]
 at net.minecraft.server.MinecraftServer.lambda$spin2ドル(MinecraftServer.java:310) ~[paper-1.21.8.jar:1.21.8-21-ed31825]
 at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Submit issue

  • read the Wiki and especially the FaQ, and made sure there is no fix to your issue,
  • searched for and ensured there isn't already an open issue regarding this,
  • are running the latest version of your server software (Spigot, Paper, etc.), and plugins (WolfyUtilities, CustomCrafting).

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /