mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Clean up formatting
This commit is contained in:
parent
81651cfac5
commit
51dfda1c91
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ public class BiomeTranslator {
|
||||||
|
|
||||||
CompoundTag biomesTag;
|
CompoundTag biomesTag;
|
||||||
|
|
||||||
try (NBTInputStream biomenbtInputStream = NbtUtils.createNetworkReader(stream)){
|
try (NBTInputStream biomenbtInputStream = NbtUtils.createNetworkReader(stream)) {
|
||||||
biomesTag = (CompoundTag) biomenbtInputStream.readTag();
|
biomesTag = (CompoundTag) biomenbtInputStream.readTag();
|
||||||
BIOMES = biomesTag;
|
BIOMES = biomesTag;
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
@ -89,7 +89,7 @@ public class BiomeTranslator {
|
||||||
} else if (biomeId >= 40 && biomeId <= 43) { // Java has multiple End dimensions that Bedrock doesn't recognize
|
} else if (biomeId >= 40 && biomeId <= 43) { // Java has multiple End dimensions that Bedrock doesn't recognize
|
||||||
biomeId = 9;
|
biomeId = 9;
|
||||||
} else if (biomeId >= 170) { // Nether biomes. Dunno why it's like this :microjang:
|
} else if (biomeId >= 170) { // Nether biomes. Dunno why it's like this :microjang:
|
||||||
biomeId = biomeId + 8;
|
biomeId += 8;
|
||||||
}
|
}
|
||||||
return (byte) biomeId;
|
return (byte) biomeId;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue