Fixed some of twiggy conflicts.

This commit is contained in:
Jonathan Williams 2014-11-12 05:13:58 -08:00
parent 8d62966abc
commit 2e848c2ac2
3 changed files with 3 additions and 4 deletions

View File

@ -44,7 +44,7 @@ public class Portal extends MiniPlugin
Bukkit.getMessenger().registerOutgoingPluginChannel(GetPlugin(), "BungeeCord");
// Register the server command type for future use
ServerCommandManager.getInstance().registerCommandType(TransferCommand.class.getSimpleName(), TransferCommand.class);
ServerCommandManager.getInstance().registerCommandType(TransferCommand.class, new TransferHandler());
}
public void SendAllPlayers(String serverName)

View File

@ -3,7 +3,6 @@ package mineplex.core.report;
import mineplex.core.MiniPlugin;
import mineplex.core.report.command.ReportCloseCommand;
import mineplex.core.report.command.ReportCommand;
import mineplex.core.report.command.ReportDebugCommand;
import mineplex.core.report.command.ReportHandleCommand;
import org.bukkit.plugin.java.JavaPlugin;
@ -27,6 +26,6 @@ public class ReportPlugin extends MiniPlugin
AddCommand(new ReportCommand(this));
AddCommand(new ReportHandleCommand(this));
AddCommand(new ReportCloseCommand(this));
AddCommand(new ReportDebugCommand(this));
//AddCommand(new ReportDebugCommand(this));
}
}

View File

@ -121,7 +121,7 @@ public class ServerCommandManager
{
callback.run(serverCommand); // Run callback
}
//}
}
}
}