mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
cleanup
This commit is contained in:
@@ -25,6 +25,7 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public class BiomeLocateCommand extends WorldCommand {
|
||||
public BiomeLocateCommand(com.dfsek.terra.bukkit.command.Command parent) {
|
||||
super(parent);
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.io.ObjectStreamClass;
|
||||
import java.io.Serializable;
|
||||
import java.lang.reflect.Field;
|
||||
|
||||
public class SerializationUtil {
|
||||
public final class SerializationUtil {
|
||||
public static Object fromFile(File f) throws IOException, ClassNotFoundException {
|
||||
ObjectInputStream ois = new MovedObjectInputStream(new FileInputStream(f), "com.dfsek.terra.api.world.generation.population", "com.dfsek.terra.bukkit.population"); // Backwards compat with old Gaea location
|
||||
Object o = ois.readObject();
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package com.dfsek.terra.bukkit.structure;
|
||||
|
||||
public class WorldEditNotFoundException extends RuntimeException {
|
||||
private static final long serialVersionUID = 3678822468346338227L;
|
||||
|
||||
public WorldEditNotFoundException() {
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import com.dfsek.terra.api.platform.world.BiomeGrid;
|
||||
import org.bukkit.generator.ChunkGenerator;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public class BukkitBiomeGrid implements BiomeGrid {
|
||||
private final ChunkGenerator.BiomeGrid delegate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user