fix(PlayerConnection): /tp fix

fix(PlayerConnection): pointer

fix(PlayerConnection): bytearray

fix(PlayerConnection): bytearray

fix(PlayerConnection): bytearray

fix(TeleportCommand): crash on coords

fix(TeleportCommand): crash on coords

fix: sunflower randomly spawning
This commit is contained in:
neoapps-dev
2026-05-03 17:59:26 +03:00
parent 083ccbd4e9
commit 89a64882ef
6 changed files with 96 additions and 86 deletions
+2 -2
View File
@@ -551,10 +551,10 @@ int Biome::getRandomDoublePlantType(Random *random)
{
int type = random->nextInt(10);
if (type < 7) return 0;
if (type < 7) return 2;
if (type == 7) return 3;
if (type == 8) return 4;
return 2;
return 5;
}
Biome* Biome::getBiome(uint32_t id) {