mirror of
https://github.com/ViaVersion/ViaLegacy.git
synced 2024-11-16 10:55:23 +01:00
Fixed biomes not working after Via update
This commit is contained in:
parent
a172be0df0
commit
45a0e1cf24
@ -326,9 +326,9 @@ public class Protocol1_2_1_3to1_1 extends StatelessProtocol<ClientboundPackets1_
|
|||||||
seedStorage.worldChunkManager = new EndBiomeGenerator();
|
seedStorage.worldChunkManager = new EndBiomeGenerator();
|
||||||
} else if (dimensionId == 0) { // Overworld
|
} else if (dimensionId == 0) { // Overworld
|
||||||
|
|
||||||
if (user.getProtocolInfo().protocolVersion().newerThanOrEqualTo(LegacyProtocolVersion.b1_8tob1_8_1)) {
|
if (user.getProtocolInfo().serverProtocolVersion().newerThanOrEqualTo(LegacyProtocolVersion.b1_8tob1_8_1)) {
|
||||||
seedStorage.worldChunkManager = new WorldChunkManager_r1_1(user, seedStorage.seed);
|
seedStorage.worldChunkManager = new WorldChunkManager_r1_1(user, seedStorage.seed);
|
||||||
} else if (user.getProtocolInfo().protocolVersion().newerThanOrEqualTo(LegacyProtocolVersion.a1_0_15)) {
|
} else if (user.getProtocolInfo().serverProtocolVersion().newerThanOrEqualTo(LegacyProtocolVersion.a1_0_15)) {
|
||||||
seedStorage.worldChunkManager = new WorldChunkManager_b1_7(seedStorage.seed);
|
seedStorage.worldChunkManager = new WorldChunkManager_b1_7(seedStorage.seed);
|
||||||
} else {
|
} else {
|
||||||
seedStorage.worldChunkManager = new PlainsBiomeGenerator();
|
seedStorage.worldChunkManager = new PlainsBiomeGenerator();
|
||||||
|
Loading…
Reference in New Issue
Block a user