File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/kotlin/com/lambda/interaction/material/container/containers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ data object CreativeContainer : MaterialContainer(Rank.Creative) {
6262
6363 context(safeContext: SafeContext )
6464 override fun materialAvailable (selection : StackSelection ): Int =
65- if (safeContext.player.isCreative && correctScreenHandler && selection.optimalStack != null ) Int .MAX_VALUE else 0
65+ if (safeContext.player.isCreative && correctScreenHandler && selection.optimalStack != null ) Int .MAX_VALUE else - 1
6666
6767 context(safeContext: SafeContext )
6868 override fun spaceAvailable (selection : StackSelection ): Int =
69- if (safeContext.player.isCreative && correctScreenHandler && selection.optimalStack != null ) Int .MAX_VALUE else 0
69+ if (safeContext.player.isCreative && correctScreenHandler && selection.optimalStack != null ) Int .MAX_VALUE else - 1
7070
7171 context(safeContext: SafeContext )
7272 private val correctScreenHandler
You can’t perform that action at this time.
0 commit comments