geforkt von Mirrors/HeadDB
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>
|
<groupId>tsp.headdb</groupId>
|
||||||
<artifactId>HeadDB</artifactId>
|
<artifactId>HeadDB</artifactId>
|
||||||
<version>2.0</version>
|
<version>2.1</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>HeadDB</name>
|
<name>HeadDB</name>
|
||||||
|
@ -190,7 +190,7 @@ public class HeadAPI {
|
|||||||
*/
|
*/
|
||||||
public static List<LocalHead> getLocalHeads() {
|
public static List<LocalHead> getLocalHeads() {
|
||||||
List<LocalHead> heads = new ArrayList<>();
|
List<LocalHead> heads = new ArrayList<>();
|
||||||
for (String key : HeadDB.getPlayerdata().keySet()) {
|
for (String key : HeadDB.getPlayerdata().singleLayerKeySet()) {
|
||||||
OfflinePlayer player = Bukkit.getOfflinePlayer(UUID.fromString(key));
|
OfflinePlayer player = Bukkit.getOfflinePlayer(UUID.fromString(key));
|
||||||
heads.add(new LocalHead(player.getUniqueId())
|
heads.add(new LocalHead(player.getUniqueId())
|
||||||
.withName(player.getName()));
|
.withName(player.getName()));
|
||||||
|
@ -2,7 +2,7 @@ name: HeadDB
|
|||||||
description: Database with thousands of heads
|
description: Database with thousands of heads
|
||||||
|
|
||||||
main: tsp.headdb.HeadDB
|
main: tsp.headdb.HeadDB
|
||||||
version: 2.0
|
version: 2.1
|
||||||
api-version: 1.16
|
api-version: 1.16
|
||||||
author: Silent
|
author: Silent
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren