mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
add null check on access
This commit is contained in:
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));
|
||||
|
||||
Reference in new issue
Block a user