nonebot-plugin-mccheck 0.2.2__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/PKG-INFO +1 -1
  2. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/configs.py +1 -1
  3. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/utils.py +1 -2
  4. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/pyproject.toml +1 -1
  5. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/LICENSE +0 -0
  6. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/README.md +0 -0
  7. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/__init__.py +0 -0
  8. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/config.py +0 -0
  9. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/data_source.py +0 -0
  10. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/language.json +0 -0
  11. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/templates/Minecraft_AE.ttf +0 -0
  12. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/templates/README.md +0 -0
  13. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/templates/background.png +0 -0
  14. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/templates/default.html +0 -0
  15. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/templates/imagelesshoverbg.png +0 -0
  16. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/templates/main.css +0 -0
  17. {nonebot_plugin_mccheck-0.2.2 → nonebot_plugin_mccheck-0.2.3}/nonebot_plugin_mccheck/templates/no_favicon.png +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nonebot-plugin-mccheck
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Minecraft服务器状态查询的nonebot插件,支持IPv6/Minecraft server status query plugin for nonebot, IPv6 supported
5
5
  License: GPL-3.0
6
6
  License-File: LICENSE
@@ -15,4 +15,4 @@ def readInfo(file: str) -> dict:
15
15
  message_type = plugin_config.type
16
16
  lang = plugin_config.language
17
17
  lang_data = readInfo("language.json")
18
- VERSION = "0.2.2"
18
+ VERSION = "0.2.3"
@@ -421,8 +421,7 @@ async def get_origin_address(
421
421
  )
422
422
  if not any(
423
423
  entry[0] == srv_data[0]
424
- and entry[1] == srv_data[1]
425
- and entry[2].replace("SRV-", "") == srv_data[2].replace("SRV-", "")
424
+ and (entry[1] == srv_data[1] or srv_data[1] == 25565)
426
425
  for entry in data
427
426
  ):
428
427
  data.append(srv_data)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "nonebot-plugin-mccheck"
3
- version = "0.2.2"
3
+ version = "0.2.3"
4
4
  description = "Minecraft服务器状态查询的nonebot插件,支持IPv6/Minecraft server status query plugin for nonebot, IPv6 supported"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.9"