mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Update BlockLaserRelay.java
This commit is contained in:
parent
0226078aee
commit
d1ceffcac9
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ public class BlockLaserRelay extends FullyDirectionalBlock.Container implements
|
|||
BlockPos pos = ((BlockHitResult) rayCast).getBlockPos();
|
||||
if (minecraft.level != null) {
|
||||
boolean wearing = ItemEngineerGoggles.isWearing(player);
|
||||
if (wearing || StackUtil.isValid(stack)) {
|
||||
if (wearing || !stack.isEmpty()) {
|
||||
boolean compass = stack.getItem() == CommonConfig.Other.relayConfigureItem;
|
||||
if (wearing || compass || stack.getItem() instanceof ItemLaserWrench) {
|
||||
BlockEntity tile = minecraft.level.getBlockEntity(pos);
|
||||
|
|
Loading…
Reference in a new issue