mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-19 13:02:12 +00:00
Fix upgrading worlds with custom generators
This commit is contained in:
parent
1c82731ddb
commit
dd02403be2
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
Reference in a new issue