@@ -0,0 +1,837 @@
+package vg.civcraft.mc.civmodcore.chatDialog;%0A%0Aimport java.util.Collections;%0Aimport java.util.List;%0Aimport java.util.function.Consumer;%0A%0Aimport org.bukkit.entity.Player;%0A%0Aimport vg.civcraft.mc.civmodcore.CivModCorePlugin;%0A%0Apublic class LDialog extends Dialog %7B%0A%09%0A%09private Consumer%3CString%3E replyFunction;%0A%09%0A%09public LDialog(Player player, Consumer%3CString%3E replyFunction) %7B%0A%09%09this(player, replyFunction, null);%0A%09%7D%0A%09%0A%09public LDialog(Player player, Consumer%3CString%3E replyFunction, String msgToShow) %7B%0A%09%09super(player, CivModCorePlugin.getInstance(), msgToShow);%0A%09%09this.replyFunction = replyFunction;%0A%09%7D%0A%0A%09@Override%0A%09public void onReply(String%5B%5D message) %7B%0A%09%09replyFunction.accept(String.join(%22 %22, message));%0A%09%7D%0A%0A%09@Override%0A%09public List%3CString%3E onTabComplete(String wordCompleted, String%5B%5D fullMessage) %7B%0A%09%09return Collections.emptyList();%0A%09%7D%0A%0A%7D%0A

Add LDialog