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

@@ -156,7 +156,7 @@ public abstract class LevelChunk_movableBEMixin extends ChunkAccess implements W
return null;
}
if (!level.isClientSide && sideEffects) {
if (!level.isClientSide() && sideEffects) {
// this updates stuff, schedule ticks - do we want that since its only be called from MovingPistonBlock really?
newBlockState.onPlace(level, blockPos_1, oldBlockState, boolean_1);
}