mirror of
https://github.com/GTNewHorizons/JustEnoughCalculation.git
synced 2026-11-21 12:32:31 +00:00
feat: reorganize
This commit is contained in:
1 parent
ae0d3869cb
commit
cce76168c0
30 files changed
+286
-217
No files matched your search
@@ -1,7 +1,7 @@
|
||||
package me.towdium.jecalculation.utils;
|
||||
|
||||
import me.towdium.jecalculation.JustEnoughCalculation;
|
||||
import me.towdium.jecalculation.polyfill.Polyfill;
|
||||
import me.towdium.jecalculation.polyfill.NBTHelper;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
@@ -253,7 +253,7 @@ public class ItemStackHelper {
|
||||
|
||||
static NBTTagCompound getTag(@Nonnull ItemStack itemStack, boolean isolate) {
|
||||
if (isolate) {
|
||||
return Polyfill.getSubCompound(itemStack, JustEnoughCalculation.Reference.MODID, true);
|
||||
return NBTHelper.getSubCompound(itemStack, JustEnoughCalculation.Reference.MODID, true);
|
||||
} else {
|
||||
if (!itemStack.hasTagCompound()) {
|
||||
itemStack.setTagCompound(new NBTTagCompound());
|
||||
|
||||
Reference in new issue
Block a user