confusing "and" and for an "or"
This commit is contained in:
parent
776d079be0
commit
efdd3277cc
|
|
@ -38,7 +38,7 @@ public class CarryOnFabricMod implements ModInitializer {
|
||||||
builder -> builder
|
builder -> builder
|
||||||
.initializer(() -> new CarryOnData(new CompoundTag()))
|
.initializer(() -> new CarryOnData(new CompoundTag()))
|
||||||
.persistent(CarryOnData.CODEC)
|
.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()
|
.copyOnDeath()
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user