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;
//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

View file

@ -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();
}
*/
}
}