Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unloader with danktech turns into armor stand and cant be used when server restarted [Issue] #29

Open
russelburgraymond opened this issue Apr 18, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@russelburgraymond
Copy link

Description (Mandatory)

If you place an unloader and leave a danktech inside it and the server restarts the danktech and unloader becomes unusable.

What caused the issue, what steps led up to the issue (Mandatory)

Place an unloader and place a danktech inside it. Then leave it there are restart ther server. It will leave the image of the danktech there, the surrounding image of the unloader will disappear and the only way to remove it is use the /minecraft:kill armorstand command.

Log of error, if applicable

[19:40:14] [Server thread/INFO]: [DankTech2] DankTech2 saving data.
[19:40:14] [Server thread/INFO]: [ViaVersion] Finished mapping loading, shutting down loader executor!
[19:40:14] [Server thread/ERROR]: [DankTech2] Item "DK2_UNLOADER_1" from DankTech2 vDEV - 4 (git 803760fb) has caused an Error!
[19:40:14] [Server thread/ERROR]: [DankTech2] You can report it here: https://github.com/Sefiraat/DankTech2/issues/
[19:40:14] [Server thread/ERROR]: [DankTech2] An Error occurred while trying to create a BlockMenu
java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.ArmorStand.getUniqueId()" because "armorStand" is null
at io.github.sefiraat.danktech2.slimefun.machines.DankUnloader$2.newInstance(DankUnloader.java:209) ~[DankTech2 - DEV 4 (git 80376).jar:?]
at me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset.lambda$newInstance$0(BlockMenuPreset.java:258) ~[Slimefun4 - RC 31 (git 0ea16).jar:?]
at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.18.2.jar:git-Paper-267]
at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.18.2.jar:git-Paper-267]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1172) ~[paper-1.18.2.jar:git-Paper-267]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.18.2.jar:git-Paper-267]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

Server Type and verison (Spigot/Paper etc.)

Paper-1.18.2

Minecraft version

1.18.2

@russelburgraymond russelburgraymond added the bug Something isn't working label Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant