mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 11:06:08 +00:00
[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:
parent
088508bd37
commit
c5850ddbd1
1 changed files with 15 additions and 13 deletions
|
@ -197,6 +197,7 @@ public class EssentialsUpgrade
|
|||
{
|
||||
@SuppressWarnings("unchecked")
|
||||
List<Object> vals = (List<Object>)usersConfig.getProperty(username + ".home");
|
||||
if (vals != null) {
|
||||
World world = ess.getServer().getWorlds().get(0);
|
||||
if (vals.size() > 5)
|
||||
{
|
||||
|
@ -214,6 +215,7 @@ public class EssentialsUpgrade
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void convertWarps()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue