fix: fluid tank for ForgeDirection.UNKNOWN

This commit is contained in:
LordMZTE 2023-04-06 12:20:31 +02:00
parent 3bf4ef52ef
commit a46a2b7801
Signed by: LordMZTE
GPG Key ID: B64802DC33A64FF6
1 changed files with 4 additions and 0 deletions

View File

@ -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) {