[trunk] Another fix for upgrading the home locations

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1302 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-05-01 22:35:26 +00:00
parent 088508bd37
commit c5850ddbd1

View File

@ -197,6 +197,7 @@ public class EssentialsUpgrade
{ {
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
List<Object> vals = (List<Object>)usersConfig.getProperty(username + ".home"); List<Object> vals = (List<Object>)usersConfig.getProperty(username + ".home");
if (vals != null) {
World world = ess.getServer().getWorlds().get(0); World world = ess.getServer().getWorlds().get(0);
if (vals.size() > 5) if (vals.size() > 5)
{ {
@ -214,6 +215,7 @@ public class EssentialsUpgrade
} }
} }
} }
}
private void convertWarps() private void convertWarps()
{ {