Always initialize PlayerSkinUpdater to be available to API

This commit is contained in:
Lukas Rieger (Blue) 2023-06-22 08:21:36 +02:00
parent 72264a2e86
commit 0ac939a644
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2

View File

@ -229,8 +229,8 @@ private void load(@Nullable ResourcePack preloadedResourcePack) throws IOExcepti
blueMap.createOrUpdateWebApp(false);
//start skin updater
this.skinUpdater = new PlayerSkinUpdater(this);
if (pluginConfig.isLivePlayerMarkers()) {
this.skinUpdater = new PlayerSkinUpdater(this);
serverInterface.registerListener(skinUpdater);
}