mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
fixed SPAS using wrong config for alt fire
This commit is contained in:
parent
05fb9f5919
commit
6782663205
@ -218,7 +218,9 @@ public class ItemGunBase extends Item implements IHoldableWeapon, IItemHUD {
|
||||
if(altConfig == null)
|
||||
return;
|
||||
|
||||
BulletConfiguration config = getBeltCfg(player, stack, false);
|
||||
BulletConfiguration config = altConfig.reloadType == altConfig.RELOAD_NONE ? getBeltCfg(player, stack, false) : BulletConfigSyncingUtil.pullConfig(altConfig.config.get(getMagType(stack)));
|
||||
|
||||
//System.out.println(config.ammo.getUnlocalizedName());
|
||||
|
||||
int bullets = config.bulletsMin;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user