Spectrum

Spectrum

2M Downloads

[BUG] Constructor's Staff consume a wrong number of material when building slabs

Hophenby opened this issue ยท 3 comments

commented

Describe the bug
only one slab was consumed when placing a double-slab block which would cause item duplicating.

To Reproduce
place the slabs near a double-slab block

Expected behavior
consume one slab while it should have consumed 2

Mod version
Which version of the mod are you currently using?
1.6.9-1.19.2-leisure_time

Screenshots
image
image

commented

the staff doesn't check the blockstate when placing something. A same bug can be reproduced when placing candles, sea pickles or blazing rods in the mod Supplementaries

commented

Sadly there is no lookup to check what amount of blocks it would take to place a specific block state. For Slabs & some vanilla blocks I might come up with a (hardcoded) way for their placement.
In the meantime adding the blocks to the spectrum:building_staffs_blacklisted block tag will mitigate any dupes

commented

Improved block placing & staff blacklist in alpha-20.