mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-12 14:50:03 +01:00
Fix upgrading worlds with custom generators
By: md_5 <git@md-5.net>
This commit is contained in:
parent
731158e521
commit
c8802f0a64
@ -306,6 +306,6 @@ public class CustomChunkGenerator extends InternalChunkGenerator {
|
||||
|
||||
@Override
|
||||
protected Codec<? extends net.minecraft.world.level.chunk.ChunkGenerator> codec() {
|
||||
throw new UnsupportedOperationException("Cannot serialize CustomChunkGenerator");
|
||||
return Codec.unit(null);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user