Update stuff from peer review

This commit is contained in:
2025-08-05 20:59:43 +02:00
parent bbd2bcae35
commit b695a7e089
16 changed files with 49 additions and 31 deletions
@@ -74,8 +74,6 @@ public interface RegionSystem {
@NonNull
Stream<Region> getRegions();
boolean isModular();
private static RegionSystem init() {
try {
return (RegionSystem) Class.forName("de.steamwar.bausystem.region.FixedRegionSystem").getConstructor().newInstance();
@@ -116,11 +114,6 @@ public interface RegionSystem {
public Stream<Region> getRegions() {
throw new UnsupportedOperationException();
}
@Override
public boolean isModular() {
throw new UnsupportedOperationException();
}
};
}
}