mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Fix crash
This commit is contained in:
1 parent
9b93a56c95
commit
77e46985ac
2 files changed
+9
-2
No files matched your search
@@ -83,6 +83,11 @@ public class TileComponentConfig implements ITileComponent
|
||||
|
||||
public boolean hasSideForData(TransmissionType type, EnumFacing facing, int dataIndex, EnumFacing sideToTest)
|
||||
{
|
||||
if(sideToTest == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return getConfig(type).get(sideToTest) == dataIndex;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user