Signed-off-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
9b1d88b4f5
Commit
6cd9d729ff
@ -276,7 +276,7 @@ public class SchematicSelector {
|
|||||||
inv.setItem(1, Material.PLAYER_HEAD, Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_OWNER", player), ownerCallback);
|
inv.setItem(1, Material.PLAYER_HEAD, 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(user.getUserName());
|
SWItem item = SWItem.getPlayerSkull(tUser.getUserName());
|
||||||
item.setName(Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_OWNER", player));
|
item.setName(Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_OWNER", player));
|
||||||
item.setEnchanted(true);
|
item.setEnchanted(true);
|
||||||
item.setLore(Collections.singletonList(Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_OWNER_SEARCH", player, tUser.getUserName())));
|
item.setLore(Collections.singletonList(Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_OWNER_SEARCH", player, tUser.getUserName())));
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren