mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Improved block reading
* Created global block states array * Improved Level->getBlock() using block states * Improved Level->getBlock() for 64-bit systems * Added Level->getFullBlock() * Added FullChunk->getFullBlock() * Added Chunk->getFullBlock() * Added ChunkSection->getFullBlock() * Deprecated FullChunk->getBlock() * Deprecated Chunk->getBlock() * Deprecated ChunkSection->getBlock()
This commit is contained in:
@ -67,8 +67,6 @@ class PluginDescription{
|
||||
$this->api = !is_array($plugin["api"]) ? [$plugin["api"]] : $plugin["api"];
|
||||
if(stripos($this->main, "pocketmine\\") === 0){
|
||||
throw new PluginException("Invalid PluginDescription main, cannot start within the PocketMine namespace");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if(isset($plugin["commands"]) and is_array($plugin["commands"])){
|
||||
|
Reference in New Issue
Block a user