try to fix energy issues again

fix issue with voiding p2p parts when shift-right clicking with a memory card
This commit is contained in:
Salomão
2021-09-04 18:59:28 -03:00
parent c284748b6c
commit d229570495
3 changed files with 6 additions and 7 deletions
@@ -351,7 +351,7 @@ public abstract class PartP2PTunnel<T extends PartP2PTunnel> extends PartBasicSt
{
newFreq = this.getProxy().getP2P().newFrequency();
final ItemStack newType = new ItemStack( data );
final ItemStack newType = this.getHost().getPart( this.getSide() ).getItemStack( PartItemStack.WRENCH );
this.getHost().removePart( this.getSide(), false );
final AEPartLocation dir = this.getHost().addPart( newType, this.getSide(), player, hand );