Implement more in PlotRegionBackups

This commit is contained in:
2026-08-13 17:40:57 +02:00
parent a5f8de9ed3
commit 418db69f52
5 changed files with 38 additions and 14 deletions
@@ -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;