mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Updating max_players.py to api 9
This commit is contained in:
parent
b520093917
commit
1b190ff3a4
2 changed files with 3 additions and 4 deletions
|
|
@ -331,6 +331,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versions": {
|
"versions": {
|
||||||
|
"1.1.0": null,
|
||||||
"1.0.1": {
|
"1.0.1": {
|
||||||
"api_version": 8,
|
"api_version": 8,
|
||||||
"commit_sha": "2b5c9ee",
|
"commit_sha": "2b5c9ee",
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
# Porting to api 8 made easier by baport.(https://github.com/bombsquad-community/baport)
|
|
||||||
"""===========MAX_PLAYERS==========="""
|
"""===========MAX_PLAYERS==========="""
|
||||||
|
|
||||||
# ba_meta require api 8
|
# ba_meta require api 9
|
||||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
@ -369,4 +367,4 @@ class MaxPlayersPlugin(babase.Plugin):
|
||||||
MultiTeamSession.get_max_players = get_max_players
|
MultiTeamSession.get_max_players = get_max_players
|
||||||
GatherWindow.__init__ = __gather_init__
|
GatherWindow.__init__ = __gather_init__
|
||||||
GatherWindow._save_state = _save_state
|
GatherWindow._save_state = _save_state
|
||||||
GatherWindow._restore_state = _restore_state
|
GatherWindow._restore_state = _restore_state
|
||||||
Loading…
Add table
Add a link
Reference in a new issue