Make events cancellable again

Signed-off-by: BuildTools <[email protected]>
This commit is contained in:
BuildTools committed 2021-07-12 18:39:17 +03:00
1 parent 0d8b2dce5b
commit 6ee2b2ce4d
11 files changed
+272 -151

No files matched your search

@@ -68,7 +68,7 @@ public class EssentialsMigrator {
DataManager.addHome(playerHome, uuid, connection);
}
} catch (SQLException e) {
plugin.getLogger().log(Level.SEVERE, "An SQL exception occurredf migrating Essentials data!", e);
plugin.getLogger().log(Level.SEVERE, "An SQL exception occurred migrating Essentials home data!", e);
}
});
@@ -105,7 +105,7 @@ public class EssentialsMigrator {
DataManager.addWarp(warp, connection);
Bukkit.getLogger().info("Migrated warp \"" + warpName + "\"");
} catch (SQLException e) {
plugin.getLogger().log(Level.SEVERE, "An SQL exception occurredf migrating Essentials data!", e);
plugin.getLogger().log(Level.SEVERE, "An SQL exception occurred migrating Essentials warp data!", e);
}
} catch (NullPointerException e) {
Bukkit.getLogger().warning("Error obtaining a warp's data!");