forked from SteamWar/SteamWar
Implement more in PlotRegionBackups
This commit is contained in:
@@ -43,10 +43,10 @@ public interface RegionBackups {
|
||||
@Getter
|
||||
abstract class Backup implements RegionDataStore, Comparable<Backup> {
|
||||
@NonNull
|
||||
private final BackupType type;
|
||||
protected final BackupType type;
|
||||
|
||||
@NonNull
|
||||
private final String name;
|
||||
protected final String name;
|
||||
|
||||
@NonNull
|
||||
protected final RegionData regionData;
|
||||
|
||||
@@ -106,6 +106,7 @@ public abstract class RegionData {
|
||||
|
||||
/**
|
||||
* This method only copies all flags and properties from this into other without saving other afterward.
|
||||
* TODO: If {@link #connectedRegions()} is overridden this method will not work correctly!
|
||||
*/
|
||||
public final void copyInto(RegionData other) {
|
||||
if (this == other) return;
|
||||
|
||||
Reference in New Issue
Block a user