mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-12 16:27:40 +00:00
fix: ensure fluid packets drop when part is broken (#418)
This commit is contained in:
1 parent
e66050c78d
commit
f98e44d106
2 files changed
+12
No files matched your search
@@ -51,6 +51,12 @@ public class PartFluidInterface extends PartInterface implements IDualHost, ICus
|
||||
this.customButtonDataObject = new FluidInterfaceButtons(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getDrops(final List<ItemStack> drops, final boolean wrenched) {
|
||||
this.fluidDuality.addDrops(drops);
|
||||
super.getDrops(drops, wrenched);
|
||||
}
|
||||
|
||||
@MENetworkEventSubscribe
|
||||
public void stateChange(final MENetworkChannelsChanged c) {
|
||||
fluidDuality.onChannelStateChange(c);
|
||||
|
||||
@@ -51,6 +51,12 @@ public class PartFluidP2PInterface extends PartP2PInterface implements IDualHost
|
||||
this.customButtonDataObject = new FluidInterfaceButtons(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getDrops(final List<ItemStack> drops, final boolean wrenched) {
|
||||
this.dualityFluid.addDrops(drops);
|
||||
super.getDrops(drops, wrenched);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getTypeTexture() {
|
||||
|
||||
Reference in new issue
Block a user