Skip to content

Commit

Permalink
Make shadow method abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
pisaiah committed Jun 2, 2024
1 parent 48bd8a7 commit 50d16e1
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@
import xyz.nucleoid.fantasy.util.ChunkGeneratorSettingsProvider;

@Mixin(ServerChunkLoadingManager.class)
public class ServerChunkLoadingManagerMixin {
public abstract class ServerChunkLoadingManagerMixin {

@Shadow
private ChunkGenerator getChunkGenerator() {
// Shadowed Method
return null;
}
public abstract ChunkGenerator getChunkGenerator();

@WrapOperation(method = "<init>", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;createMissingSettings()Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;"))
private ChunkGeneratorSettings fantasy$useProvidedChunkGeneratorSettings(Operation<ChunkGeneratorSettings> original) {
Expand Down

0 comments on commit 50d16e1

Please sign in to comment.