For your eyes only

- Fixed Schematic position editor opening both on player and host player instance during LAN games #5935 #5969
This commit is contained in:
simibubi 2024-08-05 14:13:47 +02:00
parent e52b59097e
commit 2e91e16932

View file

@ -169,6 +169,8 @@ public class SchematicItem extends Item {
if (!player.getItemInHand(hand)
.hasTag())
return false;
if (!player.level.isClientSide())
return true;
DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> this::displayBlueprintScreen);
return true;
}