Setting Item and adding option for chat based system
Dieser Commit ist enthalten in:
Ursprung
cc144f9be6
Commit
cd1e9f1bb5
@ -288,7 +288,7 @@ public class SchematicCommand implements CommandExecutor {
|
|||||||
TextComponent download = new TextComponent("§eDownload Schematic");
|
TextComponent download = new TextComponent("§eDownload Schematic");
|
||||||
download.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, TextComponent.fromLegacyText("§eGeneriere Downloadlink")));
|
download.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, TextComponent.fromLegacyText("§eGeneriere Downloadlink")));
|
||||||
download.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/schem download " + schematic.getSchemName()));
|
download.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/schem download " + schematic.getSchemName()));
|
||||||
player.spigot().sendMessage(type);
|
player.spigot().sendMessage(download);
|
||||||
}
|
}
|
||||||
|
|
||||||
List<CheckedSchematic> checkedSchematics = CheckedSchematic.getLastDeclined(player.getUniqueId());
|
List<CheckedSchematic> checkedSchematics = CheckedSchematic.getLastDeclined(player.getUniqueId());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren