chore: throw exception on 1.21 regen

This commit is contained in:
dordsor21 2024-07-02 19:46:03 +01:00
parent c3bb567ea7
commit b511e878a4
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -555,10 +555,10 @@ public final class PaperweightFaweAdapter extends FaweAdapter<net.minecraft.nbt.
return parent.fromNative(foreign);
}
// @Override
// public boolean regenerate(org.bukkit.World bukkitWorld, Region region, Extent target, RegenOptions options) throws Exception {
// return new PaperweightRegen(bukkitWorld, region, target, options).regenerate();
// }
@Override
public boolean regenerate(org.bukkit.World bukkitWorld, Region region, Extent target, RegenOptions options) throws Exception {
throw new UnsupportedOperationException("Regen support for 1.21 not yet implemented.");
}
@Override
public IChunkGet get(org.bukkit.World world, int chunkX, int chunkZ) {