Persistent state types should support null data fixer types
haykam821 opened this issue ยท 1 comments
As of Minecraft 1.20.2, persistent state types must be constructed with a data fixer type. If the data fixer type is null
, then the following exception will be logged when loading the persistent state:
java.lang.NullPointerException: Cannot invoke "net.minecraft.datafixer.DataFixTypes.update(com.mojang.datafixers.DataFixer, net.minecraft.nbt.NbtCompound, int, int)" because "dataFixTypes" is null