mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 20:22:12 +00:00
#1919 don't crash when the item conduit network has not yet been formed
This commit is contained in:
1 parent
cb311e1b4d
commit
095be41b25
1 file changed
+2
-2
@@ -173,7 +173,7 @@ public class PacketConduitProbe implements IMessage, IMessageHandler<PacketCondu
|
||||
sb.append("\n");
|
||||
|
||||
ItemConduitNetwork icn = (ItemConduitNetwork) conduit.getNetwork();
|
||||
if(mode.acceptsInput()) {
|
||||
if(icn != null && mode.acceptsInput()) {
|
||||
color = "\u00A79 ";
|
||||
sb.append(color);
|
||||
|
||||
@@ -202,7 +202,7 @@ public class PacketConduitProbe implements IMessage, IMessageHandler<PacketCondu
|
||||
}
|
||||
}
|
||||
}
|
||||
if(mode.acceptsOutput()) {
|
||||
if(icn != null && mode.acceptsOutput()) {
|
||||
color = "\u00A79 ";
|
||||
sb.append(color);
|
||||
|
||||
|
||||
Reference in new issue
Block a user