Select only name from preset
This commit is contained in:
parent
43fa2fac6b
commit
f91d93ba2a
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user