mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-09 04:20:42 +01: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
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user