Added Player death animations, improved spawning behavior to correct invisible players, fixed players getting stuck when dead, closes #2304

This commit is contained in:
Shoghi Cervantes
2014-12-09 01:36:46 +01:00
parent 5e5f8bf33d
commit 306f492fc0
4 changed files with 36 additions and 28 deletions

View File

@ -27,6 +27,10 @@ use pocketmine\nbt\NBT;
class Compound extends NamedTag implements \ArrayAccess{
/**
* @param string $name
* @param NamedTag[] $value
*/
public function __construct($name = "", $value = []){
$this->name = $name;
foreach($value as $tag){