Adds beds

This commit is contained in:
Shoghi Cervantes
2013-09-03 22:50:47 +02:00
parent f7508adb29
commit 1677ce4b1d
4 changed files with 59 additions and 13 deletions

View File

@ -27,9 +27,10 @@ class BedBlock extends TransparentBlock{
}
public function onActivate(Item $item, Player $player){
$player->dataPacket(MC_CLIENT_MESSAGE, array(
$player->sleepOn($this);
/*$player->dataPacket(MC_CLIENT_MESSAGE, array(
"message" => "This bed has been corrupted by your hands!"
));
));*/
return true;
}