SteamWar/SpigotCore
Archiviert
13
0

Fix Visual Skull #149

Zusammengeführt
YoyoNow hat 1 Commits von fix_skull nach master 2021-12-27 16:53:35 +01:00 zusammengeführt

Datei anzeigen

@ -276,7 +276,7 @@ public class SchematicSelector {
inv.setItem(1, Material.PLAYER_HEAD, Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_OWNER", player), ownerCallback);
} else {
SteamwarUser tUser = SteamwarUser.get(filter.getOwner());
SWItem item = SWItem.getPlayerSkull(user.getUserName());
SWItem item = SWItem.getPlayerSkull(tUser.getUserName());
item.setName(Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_OWNER", player));
item.setEnchanted(true);
item.setLore(Collections.singletonList(Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_OWNER_SEARCH", player, tUser.getUserName())));