mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
25 lines
694 B
Python
25 lines
694 B
Python
# Porting to api 8 made easier by baport.(https://github.com/bombsquad-community/baport)
|
|
# ba_meta require api 9
|
|
import babase
|
|
import bascenev1 as bs
|
|
|
|
original_getmesh = bs.getmesh
|
|
|
|
plugman = dict(
|
|
plugin_name="allow_invisible_models",
|
|
description="Shake as many stiies of you as possible",
|
|
external_url= "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
|
|
author=["Loup", "brostos"],
|
|
discord="mydiscord",
|
|
email = "dontclickthelink@pleasedont.com",
|
|
version="1.0.0"
|
|
)
|
|
def get_mesh_gracefully(mesh):
|
|
if mesh is not None:
|
|
return original_getmesh(mesh)
|
|
|
|
|
|
# ba_meta export plugin
|
|
class Main(babase.Plugin):
|
|
def on_app_running(self):
|
|
bs.getmesh = get_mesh_gracefully
|