bombsquad-plugin-manager/plugins/utilities/allow_invisible_models.py
2025-07-26 07:11:32 +00:00

27 lines
707 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