mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Fixed possible Level::getBlock() crash
This commit is contained in:
@ -105,7 +105,7 @@ abstract class BaseChunk extends BaseFullChunk implements Chunk{
|
||||
if(!isset($nbt->id)){
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
//TODO: add all entities
|
||||
if($nbt->id instanceof String){ //New format
|
||||
switch($nbt["id"]){
|
||||
|
Reference in New Issue
Block a user