Shallow copy
This commit is contained in:
1 parent
808eb989ea
commit
1633b5d0dd
1 file changed
+1
-1
@@ -26,7 +26,7 @@ public class Behaviours {
|
||||
public static Object MapIntToInts(AbstractCharacter caster, AbstractWorldObject target, Power power,
|
||||
PowerAction powerAction, Effect effect, ModifierEntry modifierEntry, Integer rank) {
|
||||
|
||||
return powerAction.attackAnimations;
|
||||
return powerAction.attackAnimations.clone();
|
||||
}
|
||||
|
||||
public static Object Standard(AbstractCharacter caster, AbstractWorldObject target, Power power,
|
||||
|
||||
Reference in new issue
Block a user