mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Prevent players without UUIDs getting extension method updates
Affects issues: - Fixed #1958
This commit is contained in:
parent
826b6da133
commit
806a1faf78
@ -162,6 +162,8 @@ public class ExtensionSvc implements ExtensionService {
|
||||
if (playerUUID == null && playerName == null) return;
|
||||
|
||||
UUID realUUID = playerUUID != null ? playerUUID : uuidUtility.getUUIDOf(playerName);
|
||||
if (realUUID == null) return;
|
||||
|
||||
String realPlayerName = playerName != null ?
|
||||
playerName :
|
||||
uuidUtility.getNameOf(realUUID).orElse(null);
|
||||
|
Loading…
Reference in New Issue
Block a user