Schematicdownload! #32
@ -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