mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-22 18:26:04 +01:00
Fix world claiming issue.
This commit is contained in:
parent
1674e16388
commit
c6b2983702
@ -539,7 +539,7 @@ public class EngineMain extends Engine
|
|||||||
worlds.addAll(oldWorlds);
|
worlds.addAll(oldWorlds);
|
||||||
worlds.addAll(newWorlds);
|
worlds.addAll(newWorlds);
|
||||||
|
|
||||||
if (worlds.size() > MConf.get().claimedWorldsMax)
|
if (!oldWorlds.containsAll(newWorlds) && worlds.size() > MConf.get().claimedWorldsMax)
|
||||||
{
|
{
|
||||||
List<String> worldNames = new MassiveList<>();
|
List<String> worldNames = new MassiveList<>();
|
||||||
for (String world : oldWorlds)
|
for (String world : oldWorlds)
|
||||||
|
Loading…
Reference in New Issue
Block a user