Added object metadata for Plugins, use WeakMap on perms

This commit is contained in:
Shoghi Cervantes
2014-05-19 20:07:27 +02:00
parent 88f9347093
commit 99818a26f5
16 changed files with 540 additions and 19 deletions

View File

@ -45,6 +45,10 @@ class Position extends Vector3{
return new Position($pos->x, $pos->y, $pos->z, $level);
}
public function getLevel(){
return $this->level;
}
/**
* Returns a side Vector
*