Added Sign placement

This commit is contained in:
Shoghi Cervantes Pueyo 2013-02-04 19:35:11 +01:00
parent 3e87d1927d
commit 4f0517a5a7
9 changed files with 188 additions and 58 deletions

View file

@ -1,38 +0,0 @@
<?php
/*
-
/ \
/ \
/ PocketMine \
/ MP \
|\ @shoghicp /|
|. \ / .|
| .. \ / .. |
| .. | .. |
| .. | .. |
\ | /
\ | /
\ | /
\ | /
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
*/
class WallSignBlock extends TransparentBlock{
public function __construct($meta = 0){
parent::__construct(WALL_SIGN, $meta, "Wall Sign");
}
public function getDrops(Item $item, Player $player){
return array(
array(323, 0, 1),
);
}
}