Implement more in PlotRegionBackups

This commit is contained in:
2026-03-15 17:29:44 +01:00
parent 6b7939a586
commit 24029b795c
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;