mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Fixed side output issue
This commit is contained in:
1 parent
e4eb04ea13
commit
ca52ba521b
1 file changed
+4
-2
@@ -154,9 +154,11 @@ public class TileComponentEjector implements ITileComponent
|
||||
|
||||
for(int i = 0; i < configurable.getConfig().getConfig(type).length; i++)
|
||||
{
|
||||
if(configurable.getConfig().getConfig(type)[i] == configurable.getConfig().getOutputs(type).indexOf(data))
|
||||
int side = MekanismUtils.getBaseOrientation(i, tileEntity.facing);
|
||||
|
||||
if(configurable.getConfig().getConfig(type)[side] == configurable.getConfig().getOutputs(type).indexOf(data))
|
||||
{
|
||||
outputSides.add(ForgeDirection.getOrientation(MekanismUtils.getBaseOrientation(i, tileEntity.facing)));
|
||||
outputSides.add(ForgeDirection.getOrientation(i));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user