BloodMagic/src/main/java/wayoftime/bloodmagic/util/helper/NBTHelper.java
WayofTime 9fa68e86ae Attempt to fix 1.16.3 branch's issues on the repository
Added the original 'wayoftime' folder back, so see if that fixed the multiple folder issue.
2020-10-29 15:50:03 -04:00

15 lines
No EOL
285 B
Java

package wayoftime.bloodmagic.util.helper;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.CompoundNBT;
public class NBTHelper
{
public static ItemStack checkNBT(ItemStack stack)
{
if (stack.getTag() == null)
stack.setTag(new CompoundNBT());
return stack;
}
}