Open MattDeWeerd opened 1 month ago
Did you solve this issue by any chance? I have the same issue with the same plugin version settings in 1.20.1.
No, I am still waiting for @LoneDev6 to look into this.
Can you test the plugin on 1.20.4? Let me know if it has the same issue. Thanks
Can you test the plugin on 1.20.4? Let me know if it has the same issue. Thanks
@LoneDev6 CosmeticsCore does not load on 1.20.4
[16:18:44] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[16:18:46] [ServerMain/INFO]: Loaded 1174 recipes
[16:18:46] [ServerMain/INFO]: Loaded 1271 advancements
[16:18:47] [Server thread/INFO]: Starting minecraft server version 1.20.4
[16:18:47] [Server thread/INFO]: Loading properties
[16:18:47] [Server thread/INFO]: This server is running Purpur version git-Purpur-2176 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 6b1ee98 on HEAD)
[16:18:48] [Server thread/INFO]: Server Ping Player Sample Count: 12
[16:18:48] [Server thread/INFO]: Using 4 threads for Netty based IO
[16:18:48] [Server thread/INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 4 worker threads, and gen parallelism of 4 threads
[16:18:48] [Server thread/WARN]: [Pufferfish] Will not enable SIMD! These optimizations are only safely supported on Java 17 through Java 21.
[16:18:48] [Server thread/INFO]: Default game type: SURVIVAL
[16:18:48] [Server thread/INFO]: Generating keypair
[16:18:48] [Server thread/INFO]: Starting Minecraft server on *:25565
[16:18:49] [Server thread/INFO]: Using default channel type
[16:18:49] [Server thread/INFO]: Paper: Using Java compression from Velocity.
[16:18:49] [Server thread/INFO]: Paper: Using Java cipher from Velocity.
[16:18:49] [Server thread/INFO]: [ProtocolLib] Loading server plugin ProtocolLib v5.3.0-SNAPSHOT-732
[16:18:49] [Server thread/INFO]: [LoneLibs] Loading server plugin LoneLibs v1.0.59
[16:18:49] [Server thread/INFO]: [spark] Loading server plugin spark v1.10.109
[16:18:49] [Server thread/INFO]: [CosmeticsCore] Loading server plugin CosmeticsCore v1.3.0-release-2
[16:18:49] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[16:18:49] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v5.3.0-SNAPSHOT-732
[16:18:49] [Server thread/INFO]: [LoneLibs] Enabling LoneLibs v1.0.59
[16:18:49] [Server thread/INFO]: Preparing level "world"
[16:18:50] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[16:18:51] [Server thread/INFO]: Time elapsed: 1240 ms
[16:18:51] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether
[16:18:51] [Server thread/INFO]: Time elapsed: 115 ms
[16:18:51] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
[16:18:51] [Server thread/INFO]: Time elapsed: 17 ms
[16:18:51] [Server thread/INFO]: [spark] Enabling spark v1.10.109
[16:18:51] [Server thread/INFO]: [spark] Using Paper ServerTickStartEvent for tick monitoring
[16:18:52] [Server thread/INFO]: [spark] Starting background profiler...
[16:18:52] [Server thread/INFO]: [spark] The async-profiler engine is not supported for your os/arch (windows11/amd64), so the built-in Java engine will be used instead.
[16:18:52] [Server thread/INFO]: [CosmeticsCore] Enabling CosmeticsCore v1.3.0-release-2
[16:18:52] [Server thread/INFO]: [NBTAPI] [NBTAPI] Found Minecraft: v1_20_R3! Trying to find NMS support
[16:18:52] [Server thread/INFO]: [NBTAPI] [NBTAPI] NMS support 'MC1_20_R3' loaded!
[16:18:52] [Server thread/INFO]: [NBTAPI] [NBTAPI] Using the plugin 'LoneLibs' to create a bStats instance!
[16:18:53] [Server thread/ERROR]: Error occurred while enabling CosmeticsCore v1.3.0-release-2 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "lonelibs.dev.lone.fastnbt.nms.nbt.IDataComponents.setCustomName(org.bukkit.inventory.ItemStack, String)" because "lonelibs.dev.lone.fastnbt.nms.nbt.NBT.dataComponents" is null
at lonelibs.dev.lone.fastnbt.nms.nbt.NItem.setCustomName(NItem.java:182) ~[LoneLibs.jar:?]
at dev.lone.cosmeticscore.main.aB.b(SourceFile:58) ~[CosmeticsCore_1.3.0-release-2.jar:?]
at dev.lone.cosmeticscore.main.aB.a(SourceFile:44) ~[CosmeticsCore_1.3.0-release-2.jar:?]
at dev.lone.cosmeticscore.b.d(SourceFile:124) ~[CosmeticsCore_1.3.0-release-2.jar:?]
at dev.lone.cosmeticscore.Main.onEnable(SourceFile:60) ~[CosmeticsCore_1.3.0-release-2.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:188) ~[purpur-1.20.4.jar:git-Purpur-2176]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[purpur-1.20.4.jar:git-Purpur-2176]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:653) ~[purpur-1.20.4.jar:git-Purpur-2176]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:564) ~[purpur-1.20.4.jar:git-Purpur-2176]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:675) ~[purpur-1.20.4.jar:git-Purpur-2176]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:435) ~[purpur-1.20.4.jar:git-Purpur-2176]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:346) ~[purpur-1.20.4.jar:git-Purpur-2176]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1146) ~[purpur-1.20.4.jar:git-Purpur-2176]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.4.jar:git-Purpur-2176]
at java.lang.Thread.run(Thread.java:1570) ~[?:?]
[16:18:53] [Server thread/INFO]: [CosmeticsCore] Disabling CosmeticsCore v1.3.0-release-2
[16:18:53] [Server thread/INFO]: Running delayed init tasks
[16:18:53] [Server thread/INFO]: Done (5.589s)! For help, type "help"
@LoneDev6 is there anything else I can do to help with this?
On 1.21.1 This problem also occurs.
Terms
Discord tag (optional)
matt_ow
What happened?
Trying to change the color of a cosmetic causes the gui to bug out and an error to log in the console.
Users in the discord said it could possibly be due to the latest PlaceholderAPI (2.11.6), but I have not confirmed.
Steps to reproduce the issue
Server version
Purpur-1.21.1-2304-dee41bc (1.21.1)
CosmeticsCore Version
1.3.0-RELEASE-2
ProtocolLib Version
5.3.0-SNAPSHOT-723
LoneLibs Version
1.0.58
FULL server log
latest.log
Error (optional)
CosmeticsCore config.yml
Problematic items yml configuration file (optional)
No response
Other files, you can drag and drop them here to upload. (optional)
No response
Screenshots/Videos (you can drag and drop files or paste links)
https://imgur.com/a/JQxnJBg