mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Closes #1125
This commit is contained in:
parent
06b6511663
commit
0b4a870717
2 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ public class TileEntityMiner extends TileEntityInventoryBase implements IButtonR
|
||||||
this.world.playEvent(2001, pos, Block.getStateId(this.world.getBlockState(pos)));
|
this.world.playEvent(2001, pos, Block.getStateId(this.world.getBlockState(pos)));
|
||||||
this.world.setBlockToAir(pos);
|
this.world.setBlockToAir(pos);
|
||||||
|
|
||||||
StackUtil.addAll(inv, drops);
|
StackUtil.addAll(inv, drops, false);
|
||||||
this.markDirty();
|
this.markDirty();
|
||||||
|
|
||||||
this.storage.extractEnergyInternal(actualUse, false);
|
this.storage.extractEnergyInternal(actualUse, false);
|
||||||
|
|
|
@ -62,7 +62,7 @@ public class TileEntityRangedCollector extends TileEntityInventoryBase implement
|
||||||
ArrayList<ItemStack> checkList = new ArrayList<ItemStack>();
|
ArrayList<ItemStack> checkList = new ArrayList<ItemStack>();
|
||||||
checkList.add(toAdd);
|
checkList.add(toAdd);
|
||||||
if (StackUtil.canAddAll(inv, checkList, false)) {
|
if (StackUtil.canAddAll(inv, checkList, false)) {
|
||||||
StackUtil.addAll(inv, checkList);
|
StackUtil.addAll(inv, checkList, false);
|
||||||
((WorldServer) this.world).spawnParticle(EnumParticleTypes.CLOUD, false, item.posX, item.posY + 0.45F, item.posZ, 5, 0, 0, 0, 0.03D);
|
((WorldServer) this.world).spawnParticle(EnumParticleTypes.CLOUD, false, item.posX, item.posY + 0.45F, item.posZ, 5, 0, 0, 0, 0.03D);
|
||||||
item.setDead();
|
item.setDead();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue