Select only name from preset

This commit is contained in:
Alexander Nell 2020-05-24 12:36:33 +02:00
parent 43fa2fac6b
commit f91d93ba2a

View File

@ -358,7 +358,7 @@ class GameModePresetsPlugin implements Plugin, CommandListener, TimerListener {
}
$presets = array();
while ($preset = $result->fetch_object()) {
array_push($presets, $preset);
array_push($presets, $preset->name);
}
$result->free();