mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 01:44:27 +00:00
Config Overhaul
This commit is contained in:
1 parent
b4cb69000e
commit
6e92f08851
51 files changed
+764
-395
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user