mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-17 21:55:12 +00:00
Merge branch 'mc-1.16.x' into mc-1.17.x
This commit is contained in:
@@ -94,9 +94,12 @@ class Expander
|
||||
if( !isPositive )
|
||||
{
|
||||
BlockEntity otherOrigin = level.getBlockEntity( otherMonitor.toWorldPos( 0, 0 ) );
|
||||
if( otherOrigin == null || !origin.isCompatible( (TileMonitor) otherOrigin ) ) return false;
|
||||
if( !(otherOrigin instanceof TileMonitor originMonitor) || !origin.isCompatible( originMonitor ) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
origin = (TileMonitor) otherOrigin;
|
||||
origin = originMonitor;
|
||||
}
|
||||
|
||||
this.width = width;
|
||||
|
||||
Reference in New Issue
Block a user