Disabled AliLink Saving

This commit is contained in:
alisolarflare 2016-10-14 12:42:06 -04:00
parent b5caff2047
commit cd7fca19ae
2 changed files with 10 additions and 5 deletions

View file

@ -1,18 +1,18 @@
package alisolarflare.flairdoors; package alisolarflare.flairdoors;
//import alisolarflare.AliPresents; import alisolarflare.AliPresents;
public class FlairDoorsSubPlug{ public class FlairDoorsSubPlug{
//private AliPresents plugin; private AliPresents plugin;
public FlairDoorsSubPlug(/*AliPresents plugin*/){ public FlairDoorsSubPlug(AliPresents plugin){
//this.plugin = plugin; this.plugin = plugin;
} }
public void register(){ public void register(){
registerCommands(); registerCommands();
registerEvents(); registerEvents();
} }
private void registerCommands() { private void registerCommands() {
plugin.getCommand("FlairMe").setExecutor(new FlairMe());
} }
private void registerEvents() { private void registerEvents() {
// TODO Auto-generated method stub // TODO Auto-generated method stub

View file

@ -51,6 +51,10 @@ public class SetAliLink implements CommandExecutor{
} }
private void save(Player player){ private void save(Player player){
player.sendMessage("SAAAVING"); 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); subplugin.plugin.getConfig().set("aliLinkList", subplugin.linkList);
try { try {
player.sendMessage("SAVIN"); player.sendMessage("SAVIN");
@ -61,6 +65,7 @@ public class SetAliLink implements CommandExecutor{
// TODO Auto-generated catch block // TODO Auto-generated catch block
e.printStackTrace(); e.printStackTrace();
} }
*/
} }
} }