From a2fce6f4a5279d7071a488cbfecddebf1d9882cb Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Fri, 20 Jul 2018 10:29:51 -0300 Subject: [PATCH] Update WorldPackets.java --- .../protocols/protocol1_13to1_12_2/packets/WorldPackets.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java index 32468ab5e..fcf898dca 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/packets/WorldPackets.java @@ -174,8 +174,7 @@ public class WorldPackets { // Rewrite biome id 255 to plains if (chunk.isBiomeData()) { for (int i = 0; i < 256; i++) { - int data = chunk.getBiomeData()[i] & 0xFF; - if (data == 255) + if (chunk.getBiomeData()[i] == -1) chunk.getBiomeData()[i] = 1; } }