Closed MaienM closed 1 year ago
Thanks for reporting!
Could you report this to Botania's issue tracker, and link back to here?
They seem to be retrieving the blockstate from the world (via world.getBlockState(source.getPos())
) instead of retrieving it from the BlockSource
via getBlockState()
.
This is needed because ID simulates the dispenser block, without being an actual dispenser block itself (this approach is compatible with the vanilla dispenser behaviors).
Issue type:
Short description:
Crash when using a Wand of the Forest from Botania in the Place Item Entity action of the World Item Exporter with the Dispense option enabled.
This occurs because the wand implements
OptionalDispenseItemBehavior
, and inside this behaviour it attempts to get the facing of the dispenser (world.getBlockState(source.getPos()).getValue(DispenserBlock.FACING);
).Steps to reproduce the problem:
Expected behaviour:
I expected the World Item Exporter to use the wand the same way a regular dispenser would, which is to activate a block (a Runic Altar in this case) as if the user had right-clicked it with the wand.
Versions:
Log file:
https://dpaste.com/72GXV24D2