13
0

Setting Item and adding option for chat based system

Dieser Commit ist enthalten in:
Lixfel 2019-12-19 07:19:50 +01:00
Ursprung cc144f9be6
Commit cd1e9f1bb5

Datei anzeigen

@ -288,7 +288,7 @@ public class SchematicCommand implements CommandExecutor {
TextComponent download = new TextComponent("§eDownload Schematic");
download.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, TextComponent.fromLegacyText("§eGeneriere Downloadlink")));
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());