Moar Omega, fixed Bound tool check to see if block is silk-touchable
This commit is contained in:
parent
6cb1e06306
commit
ac5a20d5b2
10 changed files with 89 additions and 6 deletions
|
@ -55,6 +55,11 @@ public abstract class OmegaArmour extends BoundArmour
|
|||
public ItemStack getSubstituteStack(ItemStack boundStack)
|
||||
{
|
||||
ItemStack omegaStack = new ItemStack(this);
|
||||
if(boundStack != null && boundStack.hasTagCompound())
|
||||
{
|
||||
NBTTagCompound tag = (NBTTagCompound) boundStack.getTagCompound().copy();
|
||||
omegaStack.setTagCompound(tag);
|
||||
}
|
||||
this.setContainedArmourStack(omegaStack, boundStack);
|
||||
SoulNetworkHandler.checkAndSetItemOwner(omegaStack, SoulNetworkHandler.getOwnerName(boundStack));
|
||||
return omegaStack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue