Skip to content

Commit

Permalink
Update MixinCarriage.java
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr authored Jan 16, 2024
1 parent 95d6921 commit 13f152a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ private boolean allowUniversalTrackTrailing(boolean original) {
private boolean snr$isIncompatible(boolean original, boolean leading) {
CarriageBogey bogey = leading ? leadingBogey() : trailingBogey();
TravellingPoint point = leading ? getLeadingPoint() : getTrailingPoint();
if (point.edge == null)
return false;
if (point.edge.getTrackMaterial().trackType == CRTrackMaterials.CRTrackType.UNIVERSAL)
return false;
if (CarriageBogeyUtils.getType(bogey).getTrackType(bogey.getStyle()) == CRTrackMaterials.CRTrackType.UNIVERSAL)
Expand Down

0 comments on commit 13f152a

Please sign in to comment.