Fixed SpellStack getting objects. Fixed Issue 109: Fire Servant not working.

This commit is contained in:
magenoxx 2011-05-15 14:00:33 +04:00
parent 2e331f2481
commit d254b97616

View file

@ -118,6 +118,9 @@ public class SpellStack extends Stack<StackObject> {
UUID objectId = stackObject.getId();
if (objectId.equals(id))
return stackObject;
UUID sourceId = stackObject.getSourceId();
if (sourceId.equals(id))
return stackObject;
}
return null;
}