add null check on access

This commit is contained in:
maggi373 committed 2022-12-23 18:11:34 +01:00
1 parent 4e6fe6f23f
commit 04a76f7b1f
1 file changed
+3
@@ -113,6 +113,9 @@ public class GuiQuantumEntangloporter extends GuiMekanism
ArrayList data = new ArrayList();
data.add(0);
data.add(freq);
if (access == null) {
return;
}
data.add(access.ordinal());
Mekanism.packetHandler.sendToServer(new TileEntityMessage(Coord4D.get(tileEntity), data));