Implemented swiftness, added invisible status to FloatingTextParticle

This commit is contained in:
Shoghi Cervantes
2015-03-20 17:19:06 +01:00
parent b42424eb22
commit 58253be0a0
4 changed files with 39 additions and 19 deletions

View File

@@ -285,6 +285,10 @@ abstract class Entity extends Location implements Metadatable{
}
}
public function getEffect($effectId){
return isset($this->effects[$effectId]) ? $this->effects[$effectId] : null;
}
public function hasEffect($effectId){
return isset($this->effects[$effectId]);
}