镜像供应器同步智能阻挡
This commit is contained in:
parent
edb452eb38
commit
1264651160
|
|
@ -438,12 +438,9 @@ public class MirrorPatternProviderBlockEntity extends PatternProviderBlockEntity
|
|||
|
||||
return !Objects.equals(this.getCustomName(), getCustomName(master))
|
||||
|| mirrorLogic.getPriority() != masterLogic.getPriority()
|
||||
|| mirrorLogic.getConfigManager().getSetting(Settings.BLOCKING_MODE)
|
||||
!= masterLogic.getConfigManager().getSetting(Settings.BLOCKING_MODE)
|
||||
|| mirrorLogic.getConfigManager().getSetting(Settings.PATTERN_ACCESS_TERMINAL)
|
||||
!= masterLogic.getConfigManager().getSetting(Settings.PATTERN_ACCESS_TERMINAL)
|
||||
|| mirrorLogic.getConfigManager().getSetting(Settings.LOCK_CRAFTING_MODE)
|
||||
!= masterLogic.getConfigManager().getSetting(Settings.LOCK_CRAFTING_MODE)
|
||||
|| !Objects.equals(
|
||||
mirrorLogic.getConfigManager().exportSettings(),
|
||||
masterLogic.getConfigManager().exportSettings())
|
||||
|| supportsPushDirectionState(master)
|
||||
&& this.getBlockState().getValue(PatternProviderBlock.PUSH_DIRECTION) != getPushDirection(master);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user