Skip to content
Snippets Groups Projects
Commit 85cde54b authored by Adry_85's avatar Adry_85
Browse files

BETA: Fixing NPE in Resurrection effect.

	Reported by: lucan
parent a13dd709
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ public class Resurrection extends L2Effect ...@@ -37,7 +37,7 @@ public class Resurrection extends L2Effect
public Resurrection(Env env, EffectTemplate template) public Resurrection(Env env, EffectTemplate template)
{ {
super(env, template); super(env, template);
_power = template.getParameters().getInt("power", 0); _power = template.hasParameters() ? template.getParameters().getInt("power", 0) : 0;
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment