diff --git a/BauSystem/BauSystem_RegionDynamic/src/de/steamwar/bausystem/region/dynamic/modes/DisplayRegionData.java b/BauSystem/BauSystem_RegionDynamic/src/de/steamwar/bausystem/region/dynamic/modes/DisplayRegionData.java index 7069d0f4..26dee8dc 100644 --- a/BauSystem/BauSystem_RegionDynamic/src/de/steamwar/bausystem/region/dynamic/modes/DisplayRegionData.java +++ b/BauSystem/BauSystem_RegionDynamic/src/de/steamwar/bausystem/region/dynamic/modes/DisplayRegionData.java @@ -20,8 +20,8 @@ package de.steamwar.bausystem.region.dynamic.modes; import de.steamwar.bausystem.region.RegionData; -import de.steamwar.bausystem.region.RegionDataStore; import de.steamwar.bausystem.region.RegionFlagPolicy; +import de.steamwar.bausystem.region.dynamic.DynamicRegion; import de.steamwar.bausystem.region.flags.Flag; import de.steamwar.bausystem.region.flags.TNTMode; import de.steamwar.core.Core; @@ -29,8 +29,8 @@ import lombok.NonNull; public class DisplayRegionData extends RegionData { - public DisplayRegionData(RegionDataStore store) { - super(store); + public DisplayRegionData(DynamicRegion region) { + super(region); } @Override diff --git a/BauSystem/BauSystem_RegionDynamic/src/de/steamwar/bausystem/region/dynamic/modes/PlotRegionBackups.java b/BauSystem/BauSystem_RegionDynamic/src/de/steamwar/bausystem/region/dynamic/modes/PlotRegionBackups.java new file mode 100644 index 00000000..9de1e3d3 --- /dev/null +++ b/BauSystem/BauSystem_RegionDynamic/src/de/steamwar/bausystem/region/dynamic/modes/PlotRegionBackups.java @@ -0,0 +1,51 @@ +/* + * This file is a part of the SteamWar software. + * + * Copyright (C) 2026 SteamWar.de-Serverteam + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +package de.steamwar.bausystem.region.dynamic.modes; + +import de.steamwar.bausystem.region.RegionBackups; +import de.steamwar.bausystem.region.RegionDataStore; +import de.steamwar.bausystem.region.dynamic.DynamicRegion; +import lombok.NonNull; +import org.jetbrains.annotations.Nullable; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; + +public class PlotRegionBackups implements RegionBackups { + + public PlotRegionBackups(DynamicRegion region, Consumer regionDataConstructor) { + } + + @Override + public Optional create(BackupType backupType) { + return Optional.empty(); + } + + @Override + public @NonNull List list() { + return List.of(); + } + + @Override + public @Nullable Backup get(String name) { + return null; + } +}