mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-29 19:59:11 +00:00
Add automatic Lands region generation
This commit is contained in:
@@ -39,8 +39,8 @@ import java.util.stream.Stream;
|
||||
|
||||
public class ConfiguredRegion {
|
||||
|
||||
private final UUID world;
|
||||
private final String id;
|
||||
private UUID world;
|
||||
private String id;
|
||||
private String customName;
|
||||
private final List<DiscoveryReward> rewards;
|
||||
@NeedsGUI private Sound sound;
|
||||
@@ -114,6 +114,11 @@ public class ConfiguredRegion {
|
||||
return id;
|
||||
}
|
||||
|
||||
@Deprecated //todo find better way to do this (templates)
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getCustomName() {
|
||||
return customName;
|
||||
}
|
||||
@@ -193,6 +198,11 @@ public class ConfiguredRegion {
|
||||
return Bukkit.getWorld(world);
|
||||
}
|
||||
|
||||
@Deprecated //todo find better way to do this (templates)
|
||||
public void setWorld(UUID world) {
|
||||
this.world = world;
|
||||
}
|
||||
|
||||
public boolean isDiscoverable() {
|
||||
return discoverable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user