From 5b0458374bdc08f7bc2d468e96767368ebbf2d70 Mon Sep 17 00:00:00 2001 From: CrazyPants Date: Tue, 8 Jul 2014 16:19:11 +0800 Subject: [PATCH] Config option added. --- .../java/crazypants/enderio/item/darksteel/SoundEntity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/crazypants/enderio/item/darksteel/SoundEntity.java b/src/main/java/crazypants/enderio/item/darksteel/SoundEntity.java index 801fade7..fb0ef924 100644 --- a/src/main/java/crazypants/enderio/item/darksteel/SoundEntity.java +++ b/src/main/java/crazypants/enderio/item/darksteel/SoundEntity.java @@ -1,5 +1,6 @@ package crazypants.enderio.item.darksteel; +import crazypants.enderio.config.Config; import crazypants.vecmath.Vector3d; import net.minecraft.entity.Entity; import net.minecraft.nbt.NBTTagCompound; @@ -8,7 +9,7 @@ import net.minecraft.world.World; public class SoundEntity extends Entity { - int lifeSpan = 20; + int lifeSpan = Config.darkSteelSoundLocatorLifespan; float volume; public SoundEntity(World world, Vector3d pos, float volume) {