diff --git a/src/main/java/tconstruct/TConstruct.java b/src/main/java/tconstruct/TConstruct.java index df3da846..3a71f6a4 100644 --- a/src/main/java/tconstruct/TConstruct.java +++ b/src/main/java/tconstruct/TConstruct.java @@ -138,8 +138,6 @@ public class TConstruct { modID, new ForgeCFG("TinkersModules", "Modules: Disabling these will disable a chunk of the mod")); - public static final String AMMOBAUBLESLOT = "quiver"; - public TConstruct() { if (Loader.isModLoaded("Natura")) { logger.info("Natura, what are we going to do tomorrow night?"); @@ -226,8 +224,8 @@ public class TConstruct { TConstructAPI.PROP_NAME = TPlayerStats.PROP_NAME; if (LoadedMods.baublesExpanded) { - BaubleExpandedSlots.tryRegisterType(AMMOBAUBLESLOT); - BaubleExpandedSlots.tryAssignSlotOfType(AMMOBAUBLESLOT); + BaubleExpandedSlots.tryRegisterType(BaubleExpandedSlots.quiverType); + BaubleExpandedSlots.tryAssignSlotOfType(BaubleExpandedSlots.quiverType); } } diff --git a/src/main/java/tconstruct/library/weaponry/AmmoItem.java b/src/main/java/tconstruct/library/weaponry/AmmoItem.java index fc9701ce..40d98954 100644 --- a/src/main/java/tconstruct/library/weaponry/AmmoItem.java +++ b/src/main/java/tconstruct/library/weaponry/AmmoItem.java @@ -2,6 +2,7 @@ package tconstruct.library.weaponry; import java.util.List; +import baubles.api.expanded.BaubleExpandedSlots; import net.minecraft.client.gui.GuiScreen; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; @@ -222,7 +223,7 @@ public abstract class AmmoItem extends ToolCore implements IBattlegearWeapon, IA @Override @Optional.Method(modid = "Baubles|Expanded") public String[] getBaubleTypes(ItemStack itemstack) { - return new String[] { TConstruct.AMMOBAUBLESLOT }; + return new String[] { BaubleExpandedSlots.quiverType }; } // Fallback for base Baubles