9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2026-01-04 15:41:38 +00:00

删除垃圾

This commit is contained in:
XiaoMoMi
2025-09-06 02:57:17 +08:00
parent 4babe7e407
commit 4415acecdd
3 changed files with 2 additions and 19 deletions

View File

@@ -89,7 +89,7 @@ public class BlockItemBehavior extends BlockBoundItemBehavior {
ImmutableBlockState blockStateToPlace = getPlacementState(context, block);
if (blockStateToPlace == null) {
return InteractionResult.FAIL;
return InteractionResult.PASS;
}
BlockPos againstPos = context.getAgainstPos();