Skip to content

Commit 3282fde

Browse files
committed
Remove null-check again, to not encourage unintended api usage
1 parent 48a5529 commit 3282fde

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

common/src/main/java/de/bluecolored/bluemap/common/plugin/skins/PlayerSkinUpdater.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ public CompletableFuture<Void> updateSkin(final UUID playerUuid) {
7676
throw new CompletionException("The skin provider threw an exception while loading the skin for UUID: '" + playerUuid + "'!", e);
7777
}
7878
}, BlueMap.THREAD_POOL).thenAcceptAsync(skin -> {
79-
if (skin == null) {
80-
Logger.global.logDebug("No player-skin provided for UUID: " + playerUuid);
81-
return;
82-
}
83-
8479
Map<String, BmMap> maps = plugin.getBlueMap().getMaps();
8580
if (maps == null) {
8681
Logger.global.logDebug("Could not update skin, since the plugin seems not to be ready.");

0 commit comments

Comments
 (0)