bump ver, fix bug

This commit is contained in:
ZXMushroom63 2024-11-04 16:33:58 +08:00
parent 78b765e508
commit 9b3f7fc5bf
2 changed files with 1 additions and 2 deletions

View File

@ -35,7 +35,6 @@ function makeSteveBlock() {
globalThis.nmb_BlockSteve = nmb_BlockSteve;
}
function registerSteveClientSide() {
globalThis.testBlockImpl = ModAPI.util.wrap(new nmb_BlockSteve());
var itemClass = ModAPI.reflect.getClassById("net.minecraft.item.Item");
var blockClass = ModAPI.reflect.getClassById("net.minecraft.block.Block");
var block_of_steve = (new nmb_BlockSteve()).$setHardness(-1.0).$setStepSound(blockClass.staticVariables.soundTypeGravel).$setUnlocalizedName(

View File

@ -22,7 +22,7 @@ globalThis.modapi_postinit = "(" + (() => {
ModAPI.meta._versionMap = {};
ModAPI.array = {};
ModAPI.version = "v2.1.2";
ModAPI.version = "v2.2";
ModAPI.flavour = "injector";
ModAPI.GNU = "terry pratchett";
ModAPI.credits = ["ZXMushroom63", "radmanplays", "Murturtle", "OtterCodes101", "TheIdiotPlays", "OeildeLynx31", "Stpv22"];