File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/main/kotlin/com/lambda
interaction/construction/simulation/checks Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -221,8 +221,10 @@ class PlaceChecker @SimCheckerDsl private constructor(simInfo: SimInfo)
221221
222222 // ToDo: Override the stack used for this to account for blocks where replaceability is dependent on the held item
223223 val usageContext = ItemUsageContext (
224+ world,
224225 fakePlayer,
225226 Hand .MAIN_HAND ,
227+ swapStack,
226228 blockHit,
227229 )
228230 val cachePos = CachedBlockPosition (
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ object SlotUtils {
2929 val ClientPlayerEntity .hotbarAndStorage: List <ItemStack > get() = inventory.mainStacks
3030 val ClientPlayerEntity .combined: List <ItemStack > get() = hotbarAndStorage + equipment
3131
32-
3332 fun SafeContext.clickSlot (
3433 slotId : Int ,
3534 button : Int ,
You can’t perform that action at this time.
0 commit comments