This commit is contained in:
gnembon committed 2025-09-09 18:09:06 +02:00
1 parent 7ee917716f
commit 0a925c833c
6 files changed
+12 -10

No files matched your search

@@ -2,7 +2,7 @@ package carpet.mixins;
import carpet.fakes.LevelInterface;
import carpet.utils.CarpetProfiler;
import net.minecraft.world.level.redstone.NeighborUpdater;
import net.minecraft.world.level.redstone.CollectingNeighborUpdater;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
@@ -22,7 +22,7 @@ import net.minecraft.world.level.Level;
public abstract class Level_tickMixin implements LevelInterface
{
@Shadow @Final public boolean isClientSide;
@Shadow @Final protected NeighborUpdater neighborUpdater;
@Shadow @Final protected CollectingNeighborUpdater neighborUpdater;
CarpetProfiler.ProfilerToken currentSection;
CarpetProfiler.ProfilerToken entitySection;
@@ -30,7 +30,7 @@ public abstract class Level_tickMixin implements LevelInterface
@Override
@Unique
public NeighborUpdater getNeighborUpdater() {
public CollectingNeighborUpdater getNeighborUpdater() {
return this.neighborUpdater;
}