fix: fluid tank for ForgeDirection.UNKNOWN
This commit is contained in:
parent
3bf4ef52ef
commit
a46a2b7801
1 changed files with 4 additions and 0 deletions
|
@ -128,6 +128,10 @@ public class TileComponentConfig implements ITileComponent {
|
|||
}
|
||||
|
||||
public SideData getOutput(TransmissionType type, int side) {
|
||||
if (side < 0 || side >= 6) {
|
||||
return EMPTY;
|
||||
}
|
||||
|
||||
int index = getConfig(type)[side];
|
||||
|
||||
if (index == -1) {
|
||||
|
|
Loading…
Reference in a new issue