mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Actual actual fix for bolt action rifle
This commit is contained in:
parent
1def78fa59
commit
ae45d56a62
@ -134,7 +134,7 @@ public class GunBoltAction extends Item {
|
|||||||
ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_);
|
ArrowNockEvent event = new ArrowNockEvent(p_77659_3_, p_77659_1_);
|
||||||
MinecraftForge.EVENT_BUS.post(event);
|
MinecraftForge.EVENT_BUS.post(event);
|
||||||
|
|
||||||
if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ModItems.gun_lever_action_ammo)) {
|
if (p_77659_3_.capabilities.isCreativeMode || p_77659_3_.inventory.hasItem(ModItems.gun_bolt_action_ammo)) {
|
||||||
if(this.getAnim(p_77659_1_) == 0)
|
if(this.getAnim(p_77659_1_) == 0)
|
||||||
p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_));
|
p_77659_3_.setItemInUse(p_77659_1_, this.getMaxItemUseDuration(p_77659_1_));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user