From f01b7b74ba21729ffaddb3972daf598e7024cdea Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 23 Oct 2019 21:25:29 +0100 Subject: [PATCH] World: remove setBlockLightAt() and setBlockSkyLightAt() --- src/world/World.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/world/World.php b/src/world/World.php index a220efa39..b9af3ad5b 100644 --- a/src/world/World.php +++ b/src/world/World.php @@ -1966,18 +1966,6 @@ class World implements ChunkManager{ return $this->getChunk($x >> 4, $z >> 4, true)->getBlockSkyLight($x & 0x0f, $y, $z & 0x0f); } - /** - * Sets the raw block skylight level. - * - * @param int $x - * @param int $y - * @param int $z - * @param int $level 0-15 - */ - public function setBlockSkyLightAt(int $x, int $y, int $z, int $level) : void{ - $this->getChunk($x >> 4, $z >> 4, true)->setBlockSkyLight($x & 0x0f, $y, $z & 0x0f, $level & 0x0f); - } - /** * Gets the raw block light level * @@ -1991,18 +1979,6 @@ class World implements ChunkManager{ return $this->getChunk($x >> 4, $z >> 4, true)->getBlockLight($x & 0x0f, $y, $z & 0x0f); } - /** - * Sets the raw block light level. - * - * @param int $x - * @param int $y - * @param int $z - * @param int $level 0-15 - */ - public function setBlockLightAt(int $x, int $y, int $z, int $level) : void{ - $this->getChunk($x >> 4, $z >> 4, true)->setBlockLight($x & 0x0f, $y, $z & 0x0f, $level & 0x0f); - } - /** * @param int $x * @param int $z