Fixed null caster for cubic instance.

This commit is contained in:
MobiusDev
2017-10-26 19:36:18 +00:00
parent 1ab658afb7
commit cbc6d70c71
4 changed files with 4 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ public class CubicInstance
public CubicInstance(L2PcInstance owner, L2PcInstance caster, L2CubicTemplate template)
{
_owner = owner;
_caster = caster;
_caster = caster == null ? owner : caster;
_template = template;
activate();
}