mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2026-01-06 15:52:03 +00:00
修复重复行为处理
This commit is contained in:
@@ -21,7 +21,9 @@ templates:
|
||||
conditions:
|
||||
- type: expression
|
||||
expression: <arg:player.is_sneaking>
|
||||
- type: "!has_item"
|
||||
functions:
|
||||
- type: update_interaction_tick
|
||||
- type: rotate_furniture
|
||||
degree: 90
|
||||
on-success:
|
||||
@@ -47,9 +49,11 @@ templates:
|
||||
conditions:
|
||||
- type: expression
|
||||
expression: <arg:player.is_sneaking>
|
||||
- type: "!has_item"
|
||||
- type: "!match_furniture_variant"
|
||||
variants: ${blacklist_variants:-null}
|
||||
functions:
|
||||
- type: update_interaction_tick
|
||||
- type: rotate_furniture
|
||||
degree: 45
|
||||
on-success:
|
||||
|
||||
Reference in New Issue
Block a user