Revert "confusing "and" and for an "or""

This reverts commit efdd3277cc.
This commit is contained in:
Hanro50 2025-10-15 21:18:32 +02:00
parent efdd3277cc
commit e3be9c84da

View File

@ -38,7 +38,7 @@ public class CarryOnFabricMod implements ModInitializer {
builder -> builder
.initializer(() -> new CarryOnData(new CompoundTag()))
.persistent(CarryOnData.CODEC)
.syncWith(CarryOnData.STREAM_CODEC, (t, p) -> p.connection != null || !p.isRemoved())
.syncWith(CarryOnData.STREAM_CODEC, (t, p) -> p.connection != null && !p.isRemoved())
.copyOnDeath()
);