Internal Fixes

This commit is contained in:
Shoghi Cervantes Pueyo
2013-01-21 00:19:49 +01:00
parent c049b5fb72
commit ef76138a1c
4 changed files with 12 additions and 7 deletions

View File

@@ -55,7 +55,7 @@ class EntityAPI{
if($e === false or $e->dead === true){
return false;
}
$e->setHealth($e->getHealth()-$attack, $cause);
$e->setHealth($e->getHealth() - $attack, $cause);
}
public function add($class, $type = 0, $data = array()){