From 68207322288f356ffddb75a3b7da24d8b70fccce Mon Sep 17 00:00:00 2001 From: kotyaralih <62548070+kotyaralih@users.noreply.github.com> Date: Sat, 8 Jan 2022 11:00:18 -0800 Subject: [PATCH] Go away, E_WARNINGS! --- src/world/Level.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Level.php b/src/world/Level.php index 33c8f3fd..af3995a1 100644 --- a/src/world/Level.php +++ b/src/world/Level.php @@ -131,7 +131,7 @@ class Level{ $Z = array_pop($X); $X = array_pop($X); if(!$this->isSpawnChunk($X, $Z)){ - $this->level->unloadChunk((int) array_pop($X), (int) $Z, $this->server->saveEnabled); + $this->level->unloadChunk((int) $X, (int) $Z, $this->server->saveEnabled); } } }