From 1d9f62f556049c4d87601d5c1fff2251d089c87f Mon Sep 17 00:00:00 2001 From: mathiascode Date: Fri, 20 Dec 2019 21:12:56 +0200 Subject: [PATCH] Fix error in username change --- src/main/java/pw/kaboom/extras/helpers/SkinDownloader.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/pw/kaboom/extras/helpers/SkinDownloader.java b/src/main/java/pw/kaboom/extras/helpers/SkinDownloader.java index d8d5b8d..cac4b0e 100644 --- a/src/main/java/pw/kaboom/extras/helpers/SkinDownloader.java +++ b/src/main/java/pw/kaboom/extras/helpers/SkinDownloader.java @@ -56,7 +56,10 @@ public class SkinDownloader { } Main.skinInProgress.remove(player.getUniqueId()); - return; + + if (!shouldChangeName) { + return; + } } new BukkitRunnable() {