Open Blayyke opened 5 years ago
i think yes. after that change, livingentity class crashes for casting java lang Boolean to java lang Integer
Item.ARROW = new Item(true).c(true, true).setRawName("arrow");
Item.COAL = new CoalItem(true).c(true, false).setRawName("coal");
Item.DIAMOND = new Item(true).c(true, true).setRawName("emerald");
Item.IRON_INGOT = new Item(true).c(true, true).setRawName("ingotIron");
Item.GOLD_INGOT = new Item(true).c(true, true).setRawName("ingotGold");
The true being passed to Item
s constructor is the items id, which is meant to be an integer. The parameters for c
are also integers but have been changed to true
.
Fired up enigma today and all of the integers in minecraft's code (1.2.5) are showing as integers. All parameters that took item ids are having
true
passed to them. May be related to this change: https://github.com/FabricMC/Enigma/commit/44dd51db443839788fe23c55d6036d8fa3ba692b