SteamWar/SpigotCore
Archiviert
13
0

1.12 Schem Selector Fix
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaos 2022-01-07 22:56:37 +01:00
Ursprung 548de003d8
Commit 629d341de0

Datei anzeigen

@ -279,7 +279,7 @@ public class SchematicSelector {
} }
}; };
if(filter.getOwner() == null) { if(filter.getOwner() == null) {
inv.setItem(1, Material.PLAYER_HEAD, Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_OWNER", player), ownerCallback); inv.setItem(1, SWItem.getMaterial("SKULL_ITEM"), (byte) 3, Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_OWNER", player), ownerCallback);
} else { } else {
SteamwarUser tUser = SteamwarUser.get(filter.getOwner()); SteamwarUser tUser = SteamwarUser.get(filter.getOwner());
SWItem item = SWItem.getPlayerSkull(tUser.getUserName()); SWItem item = SWItem.getPlayerSkull(tUser.getUserName());