mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Fixed SpellStack getting objects. Fixed Issue 109: Fire Servant not working.
This commit is contained in:
parent
2e331f2481
commit
d254b97616
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue