mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Updating character_maker.py to api 9
This commit is contained in:
parent
98abd7b5c1
commit
94742b9a31
2 changed files with 2 additions and 17 deletions
|
|
@ -884,6 +884,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versions": {
|
"versions": {
|
||||||
|
"2.1.0": null,
|
||||||
"2.0.1": {
|
"2.0.1": {
|
||||||
"api_version": 8,
|
"api_version": 8,
|
||||||
"commit_sha": "a3a48c2",
|
"commit_sha": "a3a48c2",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Released under the MIT License. See LICENSE for details.
|
# Released under the MIT License. See LICENSE for details.
|
||||||
|
|
||||||
# ba_meta require api 8
|
# ba_meta require api 9
|
||||||
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
@ -748,27 +748,11 @@ def get_player(msg, activity):
|
||||||
return player
|
return player
|
||||||
|
|
||||||
|
|
||||||
old_piv = bui.set_party_icon_always_visible
|
|
||||||
|
|
||||||
|
|
||||||
def new_piv(*args, **kwargs):
|
|
||||||
old_piv(True)
|
|
||||||
|
|
||||||
|
|
||||||
bui.set_party_icon_always_visible = new_piv
|
|
||||||
|
|
||||||
|
|
||||||
class NewMainMenuWindow(bauiv1lib.mainmenu.MainMenuWindow):
|
|
||||||
def __init__(self, *args, **kwargs):
|
|
||||||
super().__init__(*args, **kwargs)
|
|
||||||
bui.set_party_icon_always_visible(True)
|
|
||||||
|
|
||||||
# ba_meta export plugin
|
# ba_meta export plugin
|
||||||
|
|
||||||
|
|
||||||
class bySmoothy(babase.Plugin):
|
class bySmoothy(babase.Plugin):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
bauiv1lib.mainmenu.MainMenuWindow = NewMainMenuWindow
|
|
||||||
_babase.import_character = import_character
|
_babase.import_character = import_character
|
||||||
_babase.export_character = export_character
|
_babase.export_character = export_character
|
||||||
_babase.spaz_to_json = spaz_to_json
|
_babase.spaz_to_json = spaz_to_json
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue