Skip to content

Commit b0c4722

Browse files
committed
Fix crash due to wrong interface on ActionPerformerChain
1 parent 3ec7e5c commit b0c4722

File tree

1 file changed

+1
-1
lines changed
  • modules/modlauncher/src/main/java/org/gotti/wurmunlimited/modsupport/actions

1 file changed

+1
-1
lines changed

modules/modlauncher/src/main/java/org/gotti/wurmunlimited/modsupport/actions/ModActions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public void edit(MethodCall m) throws CannotCompileException {
124124
if (m.getClassName().equals("com.wurmonline.server.behaviours.Behaviour") && m.getMethodName().equals("action")) {
125125
StringBuffer code = new StringBuffer();
126126
code.append("{\n");
127-
code.append(" org.gotti.wurmunlimited.modsupport.actions.ActionPerformer actionPerformer = org.gotti.wurmunlimited.modsupport.actions.ModActions.getActionPerformer(this);\n");
127+
code.append(" org.gotti.wurmunlimited.modsupport.actions.ActionPerformerBase actionPerformer = org.gotti.wurmunlimited.modsupport.actions.ModActions.getActionPerformer(this);\n");
128128
code.append(" if (actionPerformer != null) {\n");
129129
code.append(" $_ = actionPerformer.action($$);\n");
130130
code.append(" } else {\n");

0 commit comments

Comments
 (0)