Paste #126686: Diff Report Between Paste #126685 and #126679

Date: 2024/09/21 14:12:36 UTC-07:00
Type: Diff Report

View Raw Paste Download This Paste Edit Of Paste 126685
Copy Link


 CFour:
     type: item
     material: stone_button
     display name: C4 Brick
 Detonator:
     type: item
     material: wooden_shovel
     display name: Detinator
 Detonate:
     type: world
     events:
         after player right clicks block with:Detonator:
-            - foreach <locationTag.blocks_flagged[Bombloc]>:
-                - explode power:8 <player.blocks_flagged[Bombloc]>
-                - narrate "detinating at <[Bombloc]>"
+            - foreach <player[Bombloc]>:
+                - explode power:8 <[Bombloc].location>
+                - narrate "detinating at <[Bombloc].location>"
 PlaceCfour:
     type: world
     events:
         after player places CFour:
             - flag <player> Bombloc:<player.cursor_on>
             - narrate "C4 placed"
+