Fix ammo multiplier exception in itemturret (#5446)

This commit is contained in:
Patrick 'Quezler' Mounier
2021-06-22 19:35:28 +02:00
committed by GitHub
parent b7d5f9a7ab
commit 42c643f769

View File

@@ -136,6 +136,7 @@ public class ItemTurret extends Turret{
}
BulletType type = ammoTypes.get(item);
if(type == null) return;
totalAmmo += type.ammoMultiplier;
//find ammo entry by type