Persist plot reservation regions
This commit is contained in:
@@ -972,6 +972,7 @@ public class MetropolisPlugin extends JavaPlugin {
|
||||
regionManager.addRegion(reservedRegion);
|
||||
|
||||
_occupiedPlots.add(Plot.get(reservedRegion));
|
||||
saveRegions();
|
||||
}
|
||||
|
||||
public Cuboid getCityCuboid(){
|
||||
|
||||
@@ -68,6 +68,7 @@ public class MetropolisPlotReserveCommand implements CommandExecutor {
|
||||
String regionName = args[0];
|
||||
|
||||
_plugin.reserveCuboid(regionName, cuboid);
|
||||
sender.sendMessage("Reserved plot region " + regionName + ".");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user