Fixed getOrCreateTag method in 1.18.2 is incorrect (#38)

This commit is contained in:
OmerBenGera 2022-03-11 20:00:29 +02:00
parent 6e051b757c
commit 27566f5e04

View File

@ -33,7 +33,7 @@ public final class NMSMappings_v1_18_R2 {
}
public static NBTTagCompound getOrCreateTag(ItemStack itemStack) {
return itemStack.t();
return itemStack.u();
}
public static boolean hasKeyOfType(NBTTagCompound nbtTagCompound, String key, int type) {