From 64ecb14e96d86f09d0227a1a8ab954d63b5b6d21 Mon Sep 17 00:00:00 2001 From: lc-1337 <62835225+lc-1337@users.noreply.github.com> Date: Sun, 27 Jul 2025 12:57:21 +0300 Subject: [PATCH] reduce p2p interface lags on bind and on pattern change (#322) Co-authored-by: NeOzay <69015205+NeOzay@users.noreply.github.com> --- .../github/common/parts/PartFluidP2PInterface.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/glodblock/github/common/parts/PartFluidP2PInterface.java b/src/main/java/com/glodblock/github/common/parts/PartFluidP2PInterface.java index 9139a3ae..79b7f5d8 100644 --- a/src/main/java/com/glodblock/github/common/parts/PartFluidP2PInterface.java +++ b/src/main/java/com/glodblock/github/common/parts/PartFluidP2PInterface.java @@ -60,6 +60,7 @@ import appeng.helpers.DualityInterface; import appeng.helpers.IInterfaceHost; import appeng.helpers.IPriorityHost; import appeng.me.GridAccessException; +import appeng.me.cache.CraftingGridCache; import appeng.parts.automation.UpgradeInventory; import appeng.parts.p2p.PartP2PTunnel; import appeng.parts.p2p.PartP2PTunnelStatic; @@ -83,12 +84,19 @@ public class PartFluidP2PInterface extends PartP2PTunnelStatic