Updated jar file

This commit is contained in:
alisolarflare 2016-10-17 13:25:37 -04:00
parent cd7fca19ae
commit 03e431e085
3 changed files with 4 additions and 1 deletions

Binary file not shown.

View file

@ -4,6 +4,7 @@ import java.util.logging.Logger;
import org.bukkit.plugin.PluginDescriptionFile; import org.bukkit.plugin.PluginDescriptionFile;
import alisolarflare.flairdoors.FlairMe;
import alisolarflare.flairdoors.PortalListener; import alisolarflare.flairdoors.PortalListener;
import alisolarflare.flairdoors.SetFlairDoorColour; import alisolarflare.flairdoors.SetFlairDoorColour;
import alisolarflare.links.AliLinkSubPlug; import alisolarflare.links.AliLinkSubPlug;
@ -37,6 +38,7 @@ public class AliPresents extends JavaPlugin{
alilinksubplugin.register(); alilinksubplugin.register();
} }
public void registerCommands(){ public void registerCommands(){
getCommand("FlairMe").setExecutor(new FlairMe());
getCommand("alishulker").setExecutor(new AliShulker()); getCommand("alishulker").setExecutor(new AliShulker());
getCommand("SetFlairDoorColour").setExecutor(new SetFlairDoorColour()); getCommand("SetFlairDoorColour").setExecutor(new SetFlairDoorColour());

View file

@ -3,6 +3,7 @@ package alisolarflare.flairdoors;
import alisolarflare.AliPresents; import alisolarflare.AliPresents;
public class FlairDoorsSubPlug{ public class FlairDoorsSubPlug{
@SuppressWarnings("unused")
private AliPresents plugin; private AliPresents plugin;
public FlairDoorsSubPlug(AliPresents plugin){ public FlairDoorsSubPlug(AliPresents plugin){
this.plugin = plugin; this.plugin = plugin;
@ -12,7 +13,7 @@ public class FlairDoorsSubPlug{
registerEvents(); registerEvents();
} }
private void registerCommands() { private void registerCommands() {
plugin.getCommand("FlairMe").setExecutor(new FlairMe()); //plugin.getCommand("FlairMe").setExecutor(new FlairMe());
} }
private void registerEvents() { private void registerEvents() {
// TODO Auto-generated method stub // TODO Auto-generated method stub