add warning

This commit is contained in:
ZXMushroom63 2024-11-04 16:44:41 +08:00
parent d5c8d8fdc8
commit 2354c628f2
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
//THIS IS A DEMO MOD
//nice little utility function to fix the block identity map
function fixupBlockIds() {
var blockRegistry = ModAPI.util.wrap(ModAPI.reflect.getClassById("net.minecraft.block.Block").staticVariables.blockRegistry).getCorrective();

View File

@ -1,3 +1,6 @@
//THIS IS A DEMO MOD
//nice little utility function to fix the block identity map
function fixupBlockIds() {
var blockRegistry = ModAPI.util.wrap(ModAPI.reflect.getClassById("net.minecraft.block.Block").staticVariables.blockRegistry).getCorrective();