More lenient nether regex

This commit is contained in:
James Lyne 2021-07-21 21:24:15 +01:00
parent 2f107b2126
commit 79dfea446b

View File

@ -36,7 +36,7 @@ import ChatError from "@/errors/ChatError";
import {LiveAtlasDimension, LiveAtlasServerMessageConfig, LiveAtlasWorld} from "@/index";
const titleColours = /§[0-9a-f]/ig,
netherWorldName = /(^|_)nether(_|$)/i,
netherWorldName = /_?nether(_|$)/i,
endWorldName = /(^|_)end(_|$)/i;
function buildServerConfig(response: any): DynmapServerConfig {