mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-24 14:41:18 -09:00
add warning
This commit is contained in:
parent
d5c8d8fdc8
commit
2354c628f2
@ -1,3 +1,6 @@
|
|||||||
|
//THIS IS A DEMO MOD
|
||||||
|
|
||||||
|
|
||||||
//nice little utility function to fix the block identity map
|
//nice little utility function to fix the block identity map
|
||||||
function fixupBlockIds() {
|
function fixupBlockIds() {
|
||||||
var blockRegistry = ModAPI.util.wrap(ModAPI.reflect.getClassById("net.minecraft.block.Block").staticVariables.blockRegistry).getCorrective();
|
var blockRegistry = ModAPI.util.wrap(ModAPI.reflect.getClassById("net.minecraft.block.Block").staticVariables.blockRegistry).getCorrective();
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
//THIS IS A DEMO MOD
|
||||||
|
|
||||||
|
|
||||||
//nice little utility function to fix the block identity map
|
//nice little utility function to fix the block identity map
|
||||||
function fixupBlockIds() {
|
function fixupBlockIds() {
|
||||||
var blockRegistry = ModAPI.util.wrap(ModAPI.reflect.getClassById("net.minecraft.block.Block").staticVariables.blockRegistry).getCorrective();
|
var blockRegistry = ModAPI.util.wrap(ModAPI.reflect.getClassById("net.minecraft.block.Block").staticVariables.blockRegistry).getCorrective();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user