File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_16_1to1_16_2/packets Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,9 @@ public void registerMap() {
8484 }
8585
8686 private String getDimensionFromData (CompoundTag dimensionData ) {
87+ // This may technically break other custom dimension settings for 1.16/1.16.1 clients, so those cases are considered semi "unsupported" here
8788 StringTag effectsLocation = dimensionData .get ("effects" );
88- return effectsLocation != null && oldDimensions .contains (effectsLocation .getValue ()) ? effectsLocation .getName () : "minecraft:overworld" ;
89+ return effectsLocation != null && oldDimensions .contains (effectsLocation .getValue ()) ? effectsLocation .getValue () : "minecraft:overworld" ;
8990 }
9091
9192 @ Override
You can’t perform that action at this time.
0 commit comments