From 51dfda1c917baba9fde170df5e0ce30307ebadba Mon Sep 17 00:00:00 2001 From: DoctorMacc Date: Wed, 1 Jul 2020 08:22:21 -0400 Subject: [PATCH] Clean up formatting --- .../connector/network/translators/BiomeTranslator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/BiomeTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/BiomeTranslator.java index 6f858eb50..880c1c9cd 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/BiomeTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/BiomeTranslator.java @@ -55,7 +55,7 @@ public class BiomeTranslator { CompoundTag biomesTag; - try (NBTInputStream biomenbtInputStream = NbtUtils.createNetworkReader(stream)){ + try (NBTInputStream biomenbtInputStream = NbtUtils.createNetworkReader(stream)) { biomesTag = (CompoundTag) biomenbtInputStream.readTag(); BIOMES = biomesTag; } 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 biomeId = 9; } else if (biomeId >= 170) { // Nether biomes. Dunno why it's like this :microjang: - biomeId = biomeId + 8; + biomeId += 8; } return (byte) biomeId; }