mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 08:27:45 +00:00
Merge branch 'dev' into master
This commit is contained in:
5 files changed
+3
-89
No files matched your search
@@ -61,7 +61,7 @@ import noppes.npcs.entity.old.EntityNpcNagaMale;
|
||||
import noppes.npcs.entity.old.EntityNpcSkeleton;
|
||||
import noppes.npcs.scripted.wrapper.WrapperNpcAPI;
|
||||
|
||||
@Mod(modid = "customnpcs", name = "CustomNpcs", version = "1.3")
|
||||
@Mod(modid = "customnpcs", name = "CustomNpcs", version = "1.3.2")
|
||||
public class CustomNpcs {
|
||||
|
||||
@ConfigProp(info = "Disable Chat Bubbles")
|
||||
|
||||
@@ -8,6 +8,7 @@ import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.ItemSword;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
@@ -41,7 +42,7 @@ public class BlockPedestal extends BlockTrigger{
|
||||
par1World.markBlockForUpdate(i, j, k);
|
||||
updateSurrounding(par1World, i, j, k);
|
||||
}
|
||||
else if(item == null || item.getItem() == null || !(item.getItem() instanceof ItemSword))
|
||||
else if(item == null || item.getItem() == null || item.getItem() instanceof ItemBlock)
|
||||
return true;
|
||||
else if(item != null && weapon == null){
|
||||
tile.setInventorySlotContents(0, item);
|
||||
|
||||
Reference in new issue
Block a user