diff --git a/system/functions.php b/system/functions.php index 77b33415..576dc0d3 100644 --- a/system/functions.php +++ b/system/functions.php @@ -121,7 +121,7 @@ function getPlayerLink($name, $generate = true, bool $colored = false): string function getMonsterLink($name, $generate = true): string { - $url = BASE_URL . (setting('core.friendly_urls') ? '' : 'index.php/') . 'monsters/' . urlencode($name); + $url = BASE_URL . (setting('core.friendly_urls') ? '' : 'index.php/') . 'monsters?name=' . urlencode($name); if(!$generate) return $url; return generateLink($url, $name);