Add handcuffing, next commit will be handcuff listeners.

This commit is contained in:
graywolf336
2014-01-01 16:19:04 -06:00
parent d49d2243d8
commit 9b534b2abc
7 changed files with 176 additions and 0 deletions

View File

@ -21,6 +21,7 @@ import com.graywolf336.jail.listeners.PlayerListener;
*/
public class JailMain extends JavaPlugin {
private CommandHandler cmdHand;
private HandCuffManager hcm;
private JailIO io;
private JailManager jm;
private PrisonerManager pm;
@ -29,6 +30,7 @@ public class JailMain extends JavaPlugin {
public void onEnable() {
loadConfig();
hcm = new HandCuffManager();
jm = new JailManager(this);
io = new JailIO(this);
io.loadLanguage();
@ -93,6 +95,11 @@ public class JailMain extends JavaPlugin {
return true;//Always return true here, that way we can handle the help and command usage ourself.
}
/** Gets the {@link HandCuffManager} instance. */
public HandCuffManager getHandCuffManager() {
return this.hcm;
}
/** Gets the {@link JailIO} instance. */
public JailIO getJailIO() {
return this.io;