Config Overhaul

This commit is contained in:
KAMKEEL committed 2023-01-07 00:21:08 -05:00
1 parent b4cb69000e
commit 6e92f08851
51 files changed
+764 -395

No files matched your search

+2 -1
View File
@@ -11,6 +11,7 @@ import net.minecraft.potion.PotionEffect;
import net.minecraft.world.World;
import noppes.npcs.CustomItems;
import noppes.npcs.CustomNpcs;
import noppes.npcs.config.ConfigMain;
import noppes.npcs.constants.EnumNpcToolMaterial;
import noppes.npcs.enchants.EnchantInterface;
import noppes.npcs.entity.EntityProjectile;
@@ -33,7 +34,7 @@ public class ItemGun extends ItemNpcInterface implements IProjectileCallback{
if(worldObj.isRemote)
return;
if (!hasBullet(player, stack) || !CustomNpcs.GunsEnabled){
if (!hasBullet(player, stack) || !ConfigMain.GunsEnabled){
worldObj.playSoundAtEntity(player, "customnpcs:gun.empty", 1.0F,1);
return;
}