Items/Filter

fixed error, when appending empty upg= to query
NPC/Text
  handled rare case of uppercase string-placeholders
This commit is contained in:
Sarjuuk
2015-07-05 19:13:11 +02:00
parent 09e0886cdd
commit ed67493bb8
2 changed files with 5 additions and 2 deletions

View File

@@ -957,6 +957,9 @@ class NpcPage extends GenericPage
if (in_array($t['type'], [2, 16]) && strpos($msg, '%s') === false)
$msg = '%s '.$msg;
// fixup: bad case-insensivity
$msg = str_replace('%S', '%s', $msg);
$line = array(
'range' => $t['range'],
'type' => 2, // [type: 0, 12] say: yellow-ish