SteamWar/SpigotCore
Archiviert
13
0

Merge pull request '1.12 Schem Selector Fix' (#159) from schem_sel_fix into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Reviewed-on: #159
Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Lixfel 2022-01-12 20:10:16 +01:00
Commit ccf8af3f3f

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());