Skip to content

Ledger crashes server after failing to make a log for fluid #370

@KiwiFlavoredApollo

Description

@KiwiFlavoredApollo

Expected behavior

All work well like always.

Observed/actual behavior

Minecraft 1.20.1 Fabric
Ledger 1.3.18
Create Fabric 6.0.8.1+build.1744-mc1.20.1

Server crashes when a player activates Create mod's Redstone Link via button. Doesn't seem like Redstone Link directly crashes the server. Rather, It controls some kind of fluid but Ledger mod fails to make a log for it.

java.lang.NullPointerException: Parameter specified as non-null is null: method com.github.quiltservertools.ledger.callbacks.BlockPlaceCallback.place, parameter player
	at knot//com.github.quiltservertools.ledger.callbacks.BlockPlaceCallback.place(BlockPlaceCallback.kt)
	at knot//net.minecraft.class_1755.handler$cdo000$ledger$logFluidPlace(class_1755.java:3542)
	at knot//net.minecraft.class_1755.method_7731(class_1755.java:151)
	at knot//net.minecraft.class_2357$8.method_10135(class_2357.java:395)
	at knot//net.minecraft.class_2347.dispense(class_2347.java:16)

Steps/models to reproduce

  1. Activate Redstone Link via Button (i.e. Stone Button)
  2. Server crashes

What operating system are you running

Linux

Minecraft version

1.20.1

Ledger version

1.3.18

Logs

https://mclo.gs/sSU6GEk

Agreements

  • I am running the latest version of the mod.
  • My version of Minecraft is supported.
  • I have searched for and ensured there isn't already an open issue regarding this.

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions