mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-13 19:50:31 +00:00
parent
e191b08eb5
commit
9ac8f3aeea
@ -59,7 +59,7 @@ public enum CableModemVariant implements IStringSerializable
|
||||
@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()];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user