More lenient nether regex
This commit is contained in:
parent
2f107b2126
commit
79dfea446b
@ -36,7 +36,7 @@ import ChatError from "@/errors/ChatError";
|
|||||||
import {LiveAtlasDimension, LiveAtlasServerMessageConfig, LiveAtlasWorld} from "@/index";
|
import {LiveAtlasDimension, LiveAtlasServerMessageConfig, LiveAtlasWorld} from "@/index";
|
||||||
|
|
||||||
const titleColours = /§[0-9a-f]/ig,
|
const titleColours = /§[0-9a-f]/ig,
|
||||||
netherWorldName = /(^|_)nether(_|$)/i,
|
netherWorldName = /_?nether(_|$)/i,
|
||||||
endWorldName = /(^|_)end(_|$)/i;
|
endWorldName = /(^|_)end(_|$)/i;
|
||||||
|
|
||||||
function buildServerConfig(response: any): DynmapServerConfig {
|
function buildServerConfig(response: any): DynmapServerConfig {
|
||||||
|
Loading…
Reference in New Issue
Block a user