From 90d9c6357b1bdc01e2603c93470e9dc80829d37f Mon Sep 17 00:00:00 2001 From: TechnicJelle <22576047+TechnicJelle@users.noreply.github.com> Date: Wed, 18 Jan 2023 00:29:32 +0100 Subject: [PATCH] Fix for a reversed boolean check Should have done it on false, but was doing it on true... --- pom.xml | 2 +- .../technicjelle/bluemapofflineplayermarkers/MarkerHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index c3bc080..8a34868 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.technicjelle BlueMapOfflinePlayerMarkers - 2.3 + 2.4 jar BlueMapOfflinePlayerMarkers diff --git a/src/main/java/com/technicjelle/bluemapofflineplayermarkers/MarkerHandler.java b/src/main/java/com/technicjelle/bluemapofflineplayermarkers/MarkerHandler.java index 9d49560..44dbf5e 100644 --- a/src/main/java/com/technicjelle/bluemapofflineplayermarkers/MarkerHandler.java +++ b/src/main/java/com/technicjelle/bluemapofflineplayermarkers/MarkerHandler.java @@ -88,7 +88,7 @@ public static void add(OfflinePlayer player, Location location, GameMode gameMod try { if (!map.getAssetStorage().assetExists(assetName)) { - if (createPlayerHead(player, assetName, api, map)) + if (!createPlayerHead(player, assetName, api, map)) imagePath = fallbackIcon; } } catch (IOException e) {