Slimefun

Slimefun

3M Downloads

Placing cargo nodes input/output results in unusable nodes.

sarhatabaot opened this issue ยท 6 comments

commented

๐Ÿ“ Description (REQUIRED)

Placing any cargo items produces an error in the console, and doesn't allow interaction (right click) with it.

๐Ÿ“‘ Steps to reproduce the Issue (REQUIRED)

Placing any cargo item - input/output/manager in versions 733,734 will bring up an error as detailed below.

๐Ÿ’ก Expected behavior (REQUIRED)

No error, right click shows the appropriate menu.

๐Ÿ“œ Server Log

https://pastebin.com/MRV9hJnj - error
https://pastebin.com/yPZryisW - server log

๐Ÿ“‚ /error-reports/ Folder

๐Ÿงญ Environment (REQUIRED)

  • Server Software (Spigot/Paper): Paper 1.15.2 build 389
  • Minecraft Version: 1.15.2
  • Slimefun Version: DEV 734
  • CS-CoreLib Version: DEV 91

commented

I too am having the same issue on my server with players not being able to use some of the cargo management items, and we are getting errors on the console as well.

image

commented

Hmm, I added a workaround for 1.14 and 1.15, but for 1.16, they will simply get a prompt to update their server software.

commented

The same error appears with ancient pedestals.
Seems to originate from commit, specifically from PaperLib.getBlockState().
Replacing PaperLib.getBlockState() with block.getState() fixes the problem, but then we lose the optimizations.

commented

Can you maybe try with the most recent build? The stacktrace should look a bit different

commented

I am still unable to reproduce this issue with the latest build of Paper.
And PersistentDataHolder#getPersistentDataContainer() is annotated as @NotNull, yet on some older Paper versions it appears to sometimes be null.

commented

I can confirm that in the latest build of paper everything works as intended. (1.16.3)
But with paper 1.15.x/1.14.x this error comes up.