This commit is contained in:
loki 2026-03-01 22:43:37 +01:00
parent 547fe6d9bb
commit 8705cad578
118 changed files with 2714 additions and 4761 deletions

View file

@ -16,10 +16,10 @@ public class HoloHook {
try {
Class.forName("me.filoghost.holographicdisplays.api.HolographicDisplaysAPI");
} catch (Exception ex) {
LoParkour.logging().warn("##");
LoParkour.logging().warn("## LoParkour only supports Holographic Displays v3.0.0 or higher!");
LoParkour.logging().warn("## This hook will now be disabled.");
LoParkour.logging().warn("##");
LoParkour.getPlugin().getLogger().warning("##");
LoParkour.getPlugin().getLogger().warning("## LoParkour only supports Holographic Displays v3.0.0 or higher!");
LoParkour.getPlugin().getLogger().warning("## This hook will now be disabled.");
LoParkour.getPlugin().getLogger().warning("##");
return;
}

View file

@ -159,7 +159,6 @@ public class PAPIHook extends PlaceholderExpansion {
return "?";
}
private String getInfiniteScore(String rankData, Function<Score, ?> f) {
int rank;
Leaderboard leaderboard = null;

View file

@ -27,7 +27,7 @@ public class VaultHook {
RegisteredServiceProvider<Economy> service = Bukkit.getServicesManager().getRegistration(Economy.class);
if (service == null) {
LoParkour.logging().stack("Error while trying to fetch the Vault economy", new NoSuchElementException("No economy found"));
LoParkour.getPlugin().getLogger().severe("Error while trying to fetch the Vault economy - No economy found");
return;
}