Fix bug with multiple locations being used for claiming separate areas for server-side clans such as Spawn.
This commit is contained in:
parent
e15a2ad123
commit
fa3e6c3d1f
@ -63,9 +63,9 @@ public class ClansRegions
|
|||||||
|
|
||||||
if (clan == null)
|
if (clan == null)
|
||||||
{
|
{
|
||||||
|
clan = _manager.getClanDataAccess().create("ClansRegions", clanName, true);
|
||||||
for (Location location : locations)
|
for (Location location : locations)
|
||||||
{
|
{
|
||||||
clan = _manager.getClanDataAccess().create("ClansRegions", clanName, true);
|
|
||||||
claimArea(clan, location, chunkRadius, claimOffset, safe);
|
claimArea(clan, location, chunkRadius, claimOffset, safe);
|
||||||
log(String.format("Initialized %s faction territory and creation!", clanName));
|
log(String.format("Initialized %s faction territory and creation!", clanName));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user