Fix ammo multiplier exception in itemturret (#5446)
This commit is contained in:
@@ -136,6 +136,7 @@ public class ItemTurret extends Turret{
|
|||||||
}
|
}
|
||||||
|
|
||||||
BulletType type = ammoTypes.get(item);
|
BulletType type = ammoTypes.get(item);
|
||||||
|
if(type == null) return;
|
||||||
totalAmmo += type.ammoMultiplier;
|
totalAmmo += type.ammoMultiplier;
|
||||||
|
|
||||||
//find ammo entry by type
|
//find ammo entry by type
|
||||||
|
|||||||
Reference in New Issue
Block a user