From cd7fca19ae6ee5c5ac34814a9a57bef09f1d05fd Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Fri, 14 Oct 2016 12:42:06 -0400 Subject: [PATCH] Disabled AliLink Saving --- src/alisolarflare/flairdoors/FlairDoorsSubPlug.java | 10 +++++----- src/alisolarflare/links/commands/SetAliLink.java | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/alisolarflare/flairdoors/FlairDoorsSubPlug.java b/src/alisolarflare/flairdoors/FlairDoorsSubPlug.java index e9d89a0..9e6d05b 100644 --- a/src/alisolarflare/flairdoors/FlairDoorsSubPlug.java +++ b/src/alisolarflare/flairdoors/FlairDoorsSubPlug.java @@ -1,18 +1,18 @@ package alisolarflare.flairdoors; -//import alisolarflare.AliPresents; +import alisolarflare.AliPresents; public class FlairDoorsSubPlug{ - //private AliPresents plugin; - public FlairDoorsSubPlug(/*AliPresents plugin*/){ - //this.plugin = plugin; + private AliPresents plugin; + public FlairDoorsSubPlug(AliPresents plugin){ + this.plugin = plugin; } public void register(){ registerCommands(); registerEvents(); } private void registerCommands() { - + plugin.getCommand("FlairMe").setExecutor(new FlairMe()); } private void registerEvents() { // TODO Auto-generated method stub diff --git a/src/alisolarflare/links/commands/SetAliLink.java b/src/alisolarflare/links/commands/SetAliLink.java index e36201f..1df6d82 100644 --- a/src/alisolarflare/links/commands/SetAliLink.java +++ b/src/alisolarflare/links/commands/SetAliLink.java @@ -51,6 +51,10 @@ public class SetAliLink implements CommandExecutor{ } private void save(Player player){ player.sendMessage("SAAAVING"); + player.sendMessage("SAVE FAILED: TELL ALI TO FIX THE SAVE AND UN-COMMENT THE PARAGRAPH SHE COMMENTED"); + player.sendMessage("Link will only last until next server restart"); + return; + /* subplugin.plugin.getConfig().set("aliLinkList", subplugin.linkList); try { player.sendMessage("SAVIN"); @@ -61,6 +65,7 @@ public class SetAliLink implements CommandExecutor{ // TODO Auto-generated catch block e.printStackTrace(); } + */ } }