Paste #31700: Diff note for paste #31699

Date: 2016/03/16 17:51:53 UTC-07:00
Type: Diff Report

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


 leashinteract:
     type: interact
     steps:
         1:
             click trigger:
                 script:
                 - if <player.location.find.entities[HORSE].within[5].size> >= 1 {
                   - foreach <player.location.find.entities[HORSE].within[5]> {
-                    - if <%value%.get_leash_holder> == <player> {
+                    - if <def[value].get_leash_holder> == <player> {
                       - animate <npc> animation:ARM_SWING
                       - modifyblock l@608,65,118,newwold m@fence
-                      - leash %value% holder:l@608,65,118,newwold
+                      - leash '<def[value]>' 'holder:l@608,65,118,newwold'
                       }
                     }
                   }