Mirror von
https://github.com/TheSilentPro/HeadDB.git
synchronisiert 2024-12-27 11:20:05 +01:00
HF: Fixes Local Heads not opening
Dieser Commit ist enthalten in:
Ursprung
6af5c2684b
Commit
b14b29ebf0
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>tsp.headdb</groupId>
|
||||
<artifactId>HeadDB</artifactId>
|
||||
<version>2.0</version>
|
||||
<version>2.1</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>HeadDB</name>
|
||||
|
@ -190,7 +190,7 @@ public class HeadAPI {
|
||||
*/
|
||||
public static List<LocalHead> getLocalHeads() {
|
||||
List<LocalHead> heads = new ArrayList<>();
|
||||
for (String key : HeadDB.getPlayerdata().keySet()) {
|
||||
for (String key : HeadDB.getPlayerdata().singleLayerKeySet()) {
|
||||
OfflinePlayer player = Bukkit.getOfflinePlayer(UUID.fromString(key));
|
||||
heads.add(new LocalHead(player.getUniqueId())
|
||||
.withName(player.getName()));
|
||||
|
@ -2,7 +2,7 @@ name: HeadDB
|
||||
description: Database with thousands of heads
|
||||
|
||||
main: tsp.headdb.HeadDB
|
||||
version: 2.0
|
||||
version: 2.1
|
||||
api-version: 1.16
|
||||
author: Silent
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren