Possible solution for #317 [gh#317]

This commit is contained in:
Shoghi Cervantes 2013-06-03 11:16:12 +02:00
parent a8b8427065
commit 4b6e456c65
2 changed files with 1 additions and 2 deletions

View File

@ -326,7 +326,6 @@ class Player{
public function getSlot($slot){
$slot = $this->inventory[(int) $slot];
return BlockAPI::getItem($slot[0], $slot[1], $slot[2]);
return true;
}
public function sendInventorySlot($s){

View File

@ -30,7 +30,7 @@ class Vector3{
public function __construct($x = 0, $y = 0, $z = 0){
if(($x instanceof Vector3) === true){
self::__construct($x->x, $x->y, $x->z);
Vector3::__construct($x->x, $x->y, $x->z);
}else{
$this->x = $x;
$this->y = $y;