mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Fix compile errors from merge
This commit is contained in:
1 parent
0cb18773aa
commit
8064beb0fc
57 files changed
+270
-315
No files matched your search
@@ -70,9 +70,11 @@ public class TileComponentConfig implements ITileComponent
|
||||
|
||||
for(EnumFacing f : EnumFacing.VALUES)
|
||||
{
|
||||
if(getConfig(type)[f.ordinal()] == dataIndex)
|
||||
EnumFacing side = MekanismUtils.getBaseOrientation(f, facing);
|
||||
|
||||
if(getConfig(type)[side.ordinal()] == dataIndex)
|
||||
{
|
||||
ret.add(MekanismUtils.getBaseOrientation(f, facing));
|
||||
ret.add(f);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,7 +143,7 @@ public class TileComponentConfig implements ITileComponent
|
||||
|
||||
public SideData getOutput(TransmissionType type, EnumFacing side)
|
||||
{
|
||||
int index = getConfig(type)[side];
|
||||
int index = getConfig(type)[side.ordinal()];
|
||||
|
||||
if(index == -1)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user