encapsulating isClientSide()

This commit is contained in:
gnembon committed 2025-07-31 01:43:45 +02:00
1 parent 90ba928479
commit 49840619f5
16 files changed
+24 -24

No files matched your search

@@ -21,7 +21,7 @@ public abstract class FallingBlockEntityMixin extends Entity
@Inject(method = "<init>(Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/Level;)V", at = @At("RETURN"))
private void addLogger(EntityType<? extends Projectile> entityType_1, Level world_1, CallbackInfo ci)
{
if (LoggerRegistry.__fallingBlocks && !world_1.isClientSide)
if (LoggerRegistry.__fallingBlocks && !world_1.isClientSide())
logHelper = new TrajectoryLogHelper("fallingBlocks");
}