mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-09 16:21:45 +01:00
Fix dimension identifier
This commit is contained in:
parent
92f4e3dd81
commit
af3023562d
@ -31,11 +31,11 @@ public enum Environment {
|
|||||||
|
|
||||||
public static Environment getEnvironmentById(String id) {
|
public static Environment getEnvironmentById(String id) {
|
||||||
switch (id) {
|
switch (id) {
|
||||||
case "the_nether":
|
case "minecraft:the_nether":
|
||||||
return NETHER;
|
return NETHER;
|
||||||
case "overworld":
|
case "minecraft:overworld":
|
||||||
return NORMAL;
|
return NORMAL;
|
||||||
case "the_end":
|
case "minecraft:the_end":
|
||||||
return END;
|
return END;
|
||||||
default:
|
default:
|
||||||
return CUSTOM;
|
return CUSTOM;
|
||||||
|
Loading…
Reference in New Issue
Block a user