Fully loadable plugins

This commit is contained in:
Shoghi Cervantes
2014-03-27 04:59:18 +01:00
parent 120efad01f
commit 530d705d39
402 changed files with 927 additions and 577 deletions

View File

@ -23,7 +23,7 @@ namespace PocketMine\Block;
use PocketMine\Item\Item;
use PocketMine\Level\Level;
use PocketMine;
use PocketMine\Player;
class Carpet extends Flowable{
public function __construct($meta = 0){
@ -52,7 +52,7 @@ class Carpet extends Flowable{
$this->isSolid = true;
}
public function place(Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, PocketMine\Player $player = null){
public function place(Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null){
$down = $this->getSide(0);
if($down->getID() !== self::AIR){
$this->level->setBlock($block, $this, true, false, true);