Check for null world

This commit is contained in:
tastybento 2022-04-16 15:13:55 -07:00
parent 5c2f2ecfc7
commit e8b4129c3a

View File

@ -656,6 +656,10 @@ public class ChallengesManager
public void migrateDatabase(User user, World world)
{
world = Util.getWorld(world);
if (world == null) {
this.addon.logError("No such world!");
return;
}
if (user.isPlayer())
{