mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-18 15:33:25 +00:00
TU19: merge Minecraft.World/Blocks
This commit is contained in:
@@ -15,7 +15,7 @@ int SnowTile::getResourceCount(Random* random) { return 4; }
|
||||
void SnowTile::tick(Level* level, int x, int y, int z, Random* random) {
|
||||
if (level->getBrightness(LightLayer::Block, x, y, z) > 11) {
|
||||
this->spawnResources(level, x, y, z, level->getData(x, y, z), 0);
|
||||
level->setTile(x, y, z, 0);
|
||||
level->removeTile(x, y, z);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user