Skip to content

Commit

Permalink
Fix invalid cast
Browse files Browse the repository at this point in the history
  • Loading branch information
qtc-de committed May 6, 2024
1 parent cd2a978 commit 74e052a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eu/tneitzel/rmg/internal/ArgumentHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ public Object[] getCallArguments()
{
try
{
String[] args = (String[])RMGOption.CALL_ARGUMENTS.require();
return PluginSystem.getArgumentArray(args);
List<String> argList = RMGOption.CALL_ARGUMENTS.require();
return PluginSystem.getArgumentArray(argList.toArray(new String[0]));
}

catch (RequirementException e)
Expand Down

0 comments on commit 74e052a

Please sign in to comment.