mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-10-25 20:22:23 +00:00
Disallow P2P interface -> dual interface transform (#1702)
This commit is contained in:
1 parent
70bec29ddb
commit
798e465f9e
1 file changed
+1
-1
@@ -43,6 +43,6 @@ public abstract class PartP2PTunnelStatic<T extends PartP2PTunnelStatic> extends
|
||||
|
||||
@Override
|
||||
protected boolean checkIfCompatibleType(final IPart testPart) {
|
||||
return this.getClass().isInstance(testPart);
|
||||
return testPart != null && testPart.getClass() == this.getClass();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user