mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-26 23:12:55 +00:00
Config Overhaul
This commit is contained in:
1 parent
b4cb69000e
commit
6e92f08851
51 files changed
+764
-395
No files matched your search
@@ -7,6 +7,7 @@ import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
import noppes.npcs.CustomItems;
|
||||
import noppes.npcs.CustomNpcs;
|
||||
import noppes.npcs.config.ConfigMain;
|
||||
import noppes.npcs.constants.EnumParticleType;
|
||||
import noppes.npcs.entity.EntityProjectile;
|
||||
|
||||
@@ -23,7 +24,7 @@ public class ItemMusket extends ItemNpcInterface{
|
||||
if(player.worldObj.isRemote)
|
||||
return;
|
||||
|
||||
if(!stack.stackTagCompound.getBoolean("IsLoaded2") && !player.capabilities.isCreativeMode || !CustomNpcs.GunsEnabled) {
|
||||
if(!stack.stackTagCompound.getBoolean("IsLoaded2") && !player.capabilities.isCreativeMode || !ConfigMain.GunsEnabled) {
|
||||
player.worldObj.playSoundAtEntity(player, "customnpcs:gun.empty", 1.0F,1);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user