Fix upgrading worlds with custom generators
By: md_5 <git@md-5.net>
This commit is contained in:
parent
731158e521
commit
c8802f0a64
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue