PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
54 stars 21 forks source link

[BUG] Error when I break a real_string #1175

Closed darkdragon0226 closed 3 years ago

darkdragon0226 commented 3 years ago

Describe the bug when I break a real_string already generated in the world I get this error in console

PasteBin https://pastebin.com/1E8VGHE8

Info (please complete the following information):

Special Info Please do not write "latest"! Tell us the specific plugin version you are using.

LoneDev6 commented 3 years ago

Do you have any custom datapack installed? Anyway "purpur1.17.1" is not enought, I need the full server, get it using /version and make sure it's the latest.

LoneDev6 commented 3 years ago

I think this is a Spigot bug, somehow the biome fails to be obtained when I call block.getBiome(). Maybe it's a custom biome?

darkdragon0226 commented 3 years ago

version: Purpur version git-Purpur-1377 (MC: 1.17.1) I use a datapack (william wythers overhauled overworld)

LoneDev6 commented 3 years ago

Does it contain custom biomes?

darkdragon0226 commented 3 years ago

just modify vanilla biomes

darkdragon0226 commented 3 years ago

hi, I missed a thing. when I use the 2.4.12 version, the error doesn't appear and everything seems work fine

LoneDev6 commented 3 years ago

You have to report this to Purpur, it seems to be a Purpur bug about biomes.

09.09 18:19:53 [Server] INFO java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.MinecraftKey.getNamespace()" because "minecraft" is null
09.09 18:19:53 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.util.CraftNamespacedKey.fromMinecraft(CraftNamespacedKey.java:24) ~[patched_1.17.1.jar:git-Purpur-1377]
09.09 18:19:53 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.block.CraftBlock.biomeBaseToBiome(CraftBlock.java:517) ~[patched_1.17.1.jar:git-Purpur-1377]
09.09 18:19:53 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.CraftRegionAccessor.getBiome(CraftRegionAccessor.java:202) ~[patched_1.17.1.jar:git-Purpur-1377]
09.09 18:19:53 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.block.CraftBlock.getBiome(CraftBlock.java:504) ~[patched_1.17.1.jar:git-Purpur-1377]
darkdragon0226 commented 3 years ago

in version 2.4.12 works fine, version 2.4.13 onwards sends me those errors and in version 2.4.16 it sends me this error with minerals, when breaking it does not drop anything and spam this in the console

https://pastebin.com/CGvsEQzj

LoneDev6 commented 3 years ago

Send your complete log, this is only the last part of the error. Thanks

I suggest you to share it on my Discord server by opening a ticket, to avoid sharing the full log here publicly.

darkdragon0226 commented 3 years ago

It is the only error that he sends me, here I send the complete log 2021-09-17-7.log

LoneDev6 commented 3 years ago

For some reason the errors in the log are cut. There is something wrong in the server configuration, or maybe startup parameters I need the full error in order to fix an issue.

LoneDev6 commented 3 years ago

About the errors: I suspect there is something misconfigured in the loots of ItemsAdder. Did you edit them?