Merge pull request #1838 from PEMapModder/patch-2

Fixes Position::fromObject() $strong parameter neglected
This commit is contained in:
Shoghi Cervantes 2014-08-06 11:12:53 +02:00
commit 2904aa06ef

View File

@ -46,7 +46,7 @@ class Position extends Vector3{
} }
public static function fromObject(Vector3 $pos, Level $level, $strong = false){ public static function fromObject(Vector3 $pos, Level $level, $strong = false){
return new Position($pos->x, $pos->y, $pos->z, $level); return new Position($pos->x, $pos->y, $pos->z, $level, $strong);
} }
/** /**