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

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