File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def json_cmd(server: SupportedServers) -> int:
132132
133133 qdata ["ip" ] = query_res .raw ["hostip" ]
134134 qdata ["port" ] = query_res .raw ["hostport" ]
135- qdata ["map" ] = query_res .map
135+ qdata ["map" ] = query_res .map_name
136136 qdata ["plugins" ] = query_res .software .plugins
137137 qdata ["raw" ] = query_res .raw
138138
@@ -155,7 +155,7 @@ def query_cmd(server: SupportedServers) -> int:
155155 print (f"software: { _kind (server )} { response .software .version } { response .software .brand } " )
156156 print (f"motd:{ _motd (response .motd )} " )
157157 print (f"plugins: { response .software .plugins } " )
158- print (f"players: { response .players .online } /{ response .players .max } { response .players .names } " )
158+ print (f"players: { response .players .online } /{ response .players .max } { response .players .list } " )
159159 return 0
160160
161161
You can’t perform that action at this time.
0 commit comments