Skip to content

Commit

Permalink
Simple workaround for ReplayMod/remap#9
Browse files Browse the repository at this point in the history
  • Loading branch information
Johni0702 committed Dec 8, 2019
1 parent 7629494 commit efd0336
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//$$ import net.minecraft.util.math.SectionPos;
//$$ import net.minecraft.world.World;
//$$ import net.minecraft.world.biome.Biome;
//$$ import net.minecraft.world.chunk.AbstractChunkProvider;
//$$ import net.minecraft.world.chunk.Chunk;
//$$ import net.minecraft.world.chunk.ChunkSection;
//$$ import net.minecraft.world.chunk.ChunkStatus;
Expand All @@ -28,7 +29,7 @@
//$$ // TODO Could probably be replaced with injects instead of overwrites but let's wait for CC first
//$$ @SuppressWarnings("OverwriteAuthorRequired")
//$$ @Mixin(ClientChunkProvider.class)
//$$ public abstract class MixinClientChunkProvider {
//$$ public abstract class MixinClientChunkProvider extends AbstractChunkProvider {
//$$ @Shadow @Final private WorldLightManager lightManager;
//$$ @Shadow @Final private Chunk empty;
//$$ @Shadow @Final private ClientWorld world;
Expand Down Expand Up @@ -91,12 +92,7 @@
//$$ }
//$$
//$$ @Overwrite
//$$ // FIXME preprocessor should handle this?
//#if FABRIC>=1
//$$ public String getStatus() {
//#else
//$$ public String makeString() {
//#endif
//$$ public String makeString() {
//$$ return "Client Chunk Cache: " + this.getLoadedChunksCount();
//$$ }
//$$
Expand Down

0 comments on commit efd0336

Please sign in to comment.