SteamWar/SpigotCore
Archiviert
13
0

fix(schematic_selector): Fix Player Head in 1.12
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Chaos <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Chaos 2022-03-22 20:02:10 +01:00
Ursprung bf0d41d43d
Commit 6dcb243c1f
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4A63938B698948FD

Datei anzeigen

@ -293,7 +293,7 @@ public class SchematicSelector {
openFilter(); openFilter();
} else { } else {
SWAnvilInv swAnvilInv = new SWAnvilInv(player, Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_ENTER_OWNER", player)); SWAnvilInv swAnvilInv = new SWAnvilInv(player, Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_ENTER_OWNER", player));
swAnvilInv.setItem(Material.PLAYER_HEAD); swAnvilInv.setItem(SWItem.getMaterial("SKULL_ITEM"), (byte) 3);
swAnvilInv.setCallback(s -> { swAnvilInv.setCallback(s -> {
if(SteamwarUser.get(s) != null) { if(SteamwarUser.get(s) != null) {
filter.setOwner(SteamwarUser.get(s).getId()); filter.setOwner(SteamwarUser.get(s).getId());