Merge pull request '1.12 Schem Selector Fix' (#159) from schem_sel_fix into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Reviewed-on: #159 Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Commit
ccf8af3f3f
@ -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());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren