
Added the original 'wayoftime' folder back, so see if that fixed the multiple folder issue.
15 lines
No EOL
285 B
Java
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;
|
|
}
|
|
} |