1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-28 16:13:22 +00:00

Fix wired modems having incorrect blockstate

Fixes #1010
This commit is contained in:
Jonathan Coates 2022-01-14 15:37:49 +00:00
parent e191b08eb5
commit 9ac8f3aeea
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -59,7 +59,7 @@ public static CableModemVariant from( Direction facing )
@Nonnull
public static CableModemVariant from( Direction facing, boolean modem, boolean peripheral )
{
int state = (modem ? 2 : 0) + (peripheral ? 1 : 0);
int state = (modem ? 1 : 0) + (peripheral ? 2 : 0);
return facing == null ? None : VALUES[1 + 6 * state + facing.get3DDataValue()];
}