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();
|
$presets = array();
|
||||||
while ($preset = $result->fetch_object()) {
|
while ($preset = $result->fetch_object()) {
|
||||||
array_push($presets, $preset);
|
array_push($presets, $preset->name);
|
||||||
}
|
}
|
||||||
$result->free();
|
$result->free();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user