Paste #16830: Diff note for paste #16829

Date: 2015/06/23 20:15:01 UTC-07:00
Type: Diff Report

View Raw Paste Download This Paste
Copy Link


 kit_item_snowbomb:
     type: item
     material: snow_ball
     display name: Snow Bomb Kit
     enchantments:
     - durability:1
     lore:
     - Click for a high-damage
     - exploding snowball throw!
 
 kit_item_snowbomb_world:
     type: world
     events:
         on player clicks with kit_item_snowbomb:
         - shoot snowball o:<player> d:<player.location.cursor_on> speed:2 script:kit_item_snowbomb_impact
         - take iteminhand
         - determine cancelled
 
 kit_item_snowbomb_impact:
     type: task
     script:
     - if <def[last_entity]> != null {
-    - explode %location% power:1 fire breakblocks
-    - explode %location% power:3
-    {
+        - explode <def[location]> power:1 fire breakblocks
+        - explode <def[location]> power:3
+    }