Paste #9959: Diff note for paste #9958

Date: 2014/09/21 20:38:25 UTC-07:00
Type: Diff Report

View Raw Paste Download This Paste
Copy Link


  - foreach <global.flag[store].escape_contents> {
             - if <def[value].unescaped.as_cuboid.is_within[<context.entity.location>]> {
               - if <server.flag[<context.entity.framed_item.full.escaped>]> == null {
                 - flag server <context.entity.framed_item.full.escaped>:1.00
                 - determine cancelled
                 } else if <yaml[prices].read[prices.<context.entity.framed_item.full.escaped>]> == null {
                 - foreach <server.list_online_players> {
-                  - if <def[value].has_permission[<script.constant[permission_for_whatever]||false>> != false {
+                  - if <def[value].has_permission[<script.constant[permission_for_whatever]>]> {
                     - narrate "<c.entity.framed_item> has no price! please set a price for this item by holding it in your hand ant typing /price" to:%value%
                     }
                     else if !<server.flag[pricemessage].contains[<c.entity.framed_item>]> {
                     - flag server pricemessage:->:<c.entity.framed_item>
                     }
                   }
                 - narrate "this item has no price. please contact the servers administrators to let them know"
                 - determine cancelled
                 }