|
@@ -76,7 +76,7 @@ public final class NowPlayingCommand extends ChatCommand implements IntelligentC
|
76
|
76
|
sendLine(origin, isSilent, FORMAT_ERROR, "Source not found.");
|
77
|
77
|
} else {
|
78
|
78
|
if (source.getState() != MediaSourceState.CLOSED) {
|
79
|
|
- target.getFrame().getCommandParser().parseCommand(origin,
|
|
79
|
+ target.getCommandParser().parseCommand(origin,
|
80
|
80
|
getInformation(source, args.getArgumentsAsString(2)));
|
81
|
81
|
} else {
|
82
|
82
|
sendLine(origin, isSilent, FORMAT_ERROR, "Source is not running.");
|
|
@@ -88,7 +88,7 @@ public final class NowPlayingCommand extends ChatCommand implements IntelligentC
|
88
|
88
|
}
|
89
|
89
|
} else {
|
90
|
90
|
if (parent.hasRunningSource()) {
|
91
|
|
- target.getFrame().getCommandParser().parseCommand(origin,
|
|
91
|
+ target.getCommandParser().parseCommand(origin,
|
92
|
92
|
getInformation(parent.getBestSource(), args.
|
93
|
93
|
getArgumentsAsString(0)));
|
94
|
94
|
} else {
|