It runs :O (Added more Permissions, executors and such things)

This commit is contained in:
Shoghi Cervantes
2014-03-26 04:14:53 +01:00
parent b1b8c89227
commit 7ea9e4c862
76 changed files with 3296 additions and 1061 deletions

View File

@@ -61,7 +61,7 @@ class Potato extends Flowable{
if($type === Level::BLOCK_UPDATE_NORMAL){
if($this->getSide(0)->isTransparent === true){ //Replace with common break method
//TODO
//ServerAPI::request()->api->entity->drop($this, Item::get(POTATO, 0, 1));
//Server::getInstance()->api->entity->drop($this, Item::get(POTATO, 0, 1));
$this->level->setBlock($this, new Air(), false, false, true);
return Level::BLOCK_UPDATE_NORMAL;