World Guard Region comparision is not working properly #291


  • Defect
Open
  • OwnMakesChannel created this issue May 28, 2021

    When there is just one region it works fine. When there are two regions and I compare it using the PAPI Placeholder or your own $wgregionname it is not working in 50% of the cases.

     

    There are two regions: nordin, rathaus_stadt

     

    My Code:

     

    - '$Script$%if%nordin==$wgregionname'

  • OwnMakesChannel added a tag Defect May 28, 2021
  • ivanfromitaly posted a comment May 29, 2021

    == looks for the exact same result, if the string cointains "nordin, rathaus_stadt" , nordin should also contain "nordin, rathaus_stadt". Use .contains instead of ==

  • OwnMakesChannel posted a comment May 31, 2021

    Ok, I will try it next time. I reduced the size of one region, so that they don't interfere anymore.


To post a comment, please login or register a new account.