mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-26 10:29:20 +00:00
fix(block): 修复堆叠方块放置时的交互结果
This commit is contained in:
@@ -55,7 +55,7 @@ public class StackableBlockBehavior extends BukkitBlockBehavior {
|
||||
FastNMS.INSTANCE.method$ItemStack$consume(item.getLiteralObject(), 1, player.serverPlayer());
|
||||
player.swingHand(context.getHand());
|
||||
}
|
||||
return InteractionResult.FAIL;
|
||||
return InteractionResult.SUCCESS_AND_CANCEL;
|
||||
}
|
||||
return InteractionResult.PASS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user