We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1637c3 commit a88b2e5Copy full SHA for a88b2e5
src/main/kotlin/com/lambda/interaction/request/placing/PlaceManager.kt
@@ -355,7 +355,7 @@ object PlaceManager : RequestHandler<PlaceRequest>(
355
}
356
357
val itemStack = itemPlacementContext.stack
358
- if (!player.abilities.creativeMode) itemStack.decrement(1)
+ itemStack.decrementUnlessCreative(1, player)
359
360
if (placeConfig.placeConfirmationMode == PlaceConfig.PlaceConfirmationMode.AwaitThenPlace)
361
return ActionResult.SUCCESS
0 commit comments