File creation and first crack at default .zip folder
This commit is contained in:
parent
74206f1dd9
commit
cce90ce8fd
8 changed files with 310 additions and 65 deletions
|
@ -97,7 +97,7 @@ public class RitualEffectItemSuction extends RitualEffect
|
|||
copyStack.stackSize = 0;
|
||||
} else
|
||||
{
|
||||
if (itemStack.getItem().equals(copyStack.getItem()))
|
||||
if (itemStack.getItem().equals(copyStack.getItem()) && itemStack.getItemDamage() == copyStack.getItemDamage())
|
||||
{
|
||||
int itemSize = itemStack.stackSize;
|
||||
int copySize = copyStack.stackSize;
|
||||
|
@ -125,8 +125,7 @@ public class RitualEffectItemSuction extends RitualEffect
|
|||
|
||||
if (copyStack.stackSize > 0)
|
||||
{
|
||||
world.spawnEntityInWorld(new EntityItem(world, x + 0.4, y + 2, z + 0.5, copyStack));
|
||||
//flag=true;
|
||||
itemEntity.getEntityItem().stackSize = copyStack.stackSize;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue