Go away, E_WARNINGS!

This commit is contained in:
kotyaralih 2022-01-08 11:00:18 -08:00
parent c53368c700
commit 6820732228

View file

@ -131,7 +131,7 @@ class Level{
$Z = array_pop($X); $Z = array_pop($X);
$X = array_pop($X); $X = array_pop($X);
if(!$this->isSpawnChunk($X, $Z)){ 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);
} }
} }
} }