mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
A server-side skin overlay data fix.
This commit is contained in:
1 parent
3a604112ca
commit
c95c48a033
1 file changed
+1
-1
@@ -68,7 +68,7 @@ public class ScriptPlayerEventHandler {
|
||||
Server.sendData((EntityPlayerMP) player, EnumPacketClient.OVERLAY_QUEST_TRACKING);
|
||||
}
|
||||
|
||||
if (player.ticksExisted%20 == 0) {
|
||||
if (player.ticksExisted%20 == 0 && !PlayerDataController.instance.getPlayerData(player).skinOverlays.overlayList.isEmpty()) {
|
||||
PlayerDataController.instance.getPlayerData(player).skinOverlays.updateClient();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user