Allow Ammo in Bauble Slots (#189)

Co-authored-by: Nikolay S. <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-08-01 12:48:38 +07:00
1 parent abe4fae7a8
commit 1781f102ac
13 files changed
+271 -230

No files matched your search

+7
View File
@@ -12,6 +12,7 @@ import net.minecraftforge.event.entity.EntityJoinWorldEvent;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import baubles.api.expanded.BaubleExpandedSlots;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
@@ -42,6 +43,7 @@ import tconstruct.armor.TinkerArmor;
import tconstruct.armor.player.TPlayerHandler;
import tconstruct.armor.player.TPlayerStats;
import tconstruct.common.TProxyCommon;
import tconstruct.compat.LoadedMods;
import tconstruct.gadgets.TinkerGadgets;
import tconstruct.library.SlimeBounceHandler;
import tconstruct.library.TConstructCreativeTab;
@@ -220,6 +222,11 @@ public class TConstruct {
}
TConstructAPI.PROP_NAME = TPlayerStats.PROP_NAME;
if (LoadedMods.baublesExpanded) {
BaubleExpandedSlots.tryRegisterType(BaubleExpandedSlots.quiverType);
BaubleExpandedSlots.tryAssignSlotOfType(BaubleExpandedSlots.quiverType);
}
}
@EventHandler