|
@@ -1293,7 +1293,7 @@ sub stop_server_without_decrypt
|
|
|
);
|
|
);
|
|
|
|
|
|
|
|
my $rconCommand = "/stop";
|
|
my $rconCommand = "/stop";
|
|
|
- my $mc_result = $minecraft->command($command);
|
|
|
|
|
|
|
+ my $mc_result = $minecraft->command($rconCommand);
|
|
|
if ($mc_result) {
|
|
if ($mc_result) {
|
|
|
logger "Minecraft Shutdown command sent successfully";
|
|
logger "Minecraft Shutdown command sent successfully";
|
|
|
$usedProtocolToStop = 1;
|
|
$usedProtocolToStop = 1;
|