mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
biomez
This commit is contained in:
parent
b6da664236
commit
eaa5390879
6 changed files with 134 additions and 83 deletions
|
|
@ -138,7 +138,6 @@ class Level{
|
|||
}
|
||||
}
|
||||
$chunkTiles = [];
|
||||
console(strlen($orderedLight));
|
||||
$tiles = $this->server->query("SELECT ID FROM tiles WHERE spawnable = 1 AND level = '".$this->getName()."' AND x >= ".($X * 16 - 1)." AND x < ".($X * 16 + 17)." AND z >= ".($Z * 16 - 1)." AND z < ".($Z * 16 + 17).";");
|
||||
if($tiles !== false and $tiles !== true){
|
||||
while(($tile = $tiles->fetchArray(SQLITE3_ASSOC)) !== false){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue