Fix world claiming issue.

This commit is contained in:
Olof Larsson 2016-10-19 18:58:01 +02:00
parent 1674e16388
commit c6b2983702
No known key found for this signature in database
GPG Key ID: BBEF14F97DA52474

View File

@ -539,7 +539,7 @@ public class EngineMain extends Engine
worlds.addAll(oldWorlds);
worlds.addAll(newWorlds);
if (worlds.size() > MConf.get().claimedWorldsMax)
if (!oldWorlds.containsAll(newWorlds) && worlds.size() > MConf.get().claimedWorldsMax)
{
List<String> worldNames = new MassiveList<>();
for (String world : oldWorlds)