Gold3xx Posted April 1, 2015 Share Posted April 1, 2015 Some help :D Link to comment Share on other sites More sharing options...
0 SweeTs Posted April 1, 2015 Share Posted April 1, 2015 Delete the voicedcommand, deactivate it from voicedcommands? Huh.. Link to comment Share on other sites More sharing options...
0 Gold3xx Posted April 2, 2015 Author Share Posted April 2, 2015 Well i tried to delete menu.java but then it gives me an error when i compile it. I have no idea how to disable it :( private VoicedCommandHandler() { _datatable = new FastMap<String, IVoicedCommandHandler>(); registerVoicedCommandHandler(new Voting()); if (Config.BANKING_SYSTEM_ENABLED) { registerVoicedCommandHandler(new BankingCmd()); } if (Config.CTF_COMMAND) { registerVoicedCommandHandler(new CTFCmd()); } if (Config.TVT_COMMAND) { registerVoicedCommandHandler(new TvTCmd()); } if (Config.DM_COMMAND) { registerVoicedCommandHandler(new DMCmd()); } if (Config.L2JMOD_ALLOW_WEDDING) { registerVoicedCommandHandler(new Wedding()); } registerVoicedCommandHandler(new StatsCmd()); if (Config.ALLOW_VERSION_COMMAND) { registerVoicedCommandHandler(new VersionCmd()); } if (Config.ALLOW_AWAY_STATUS) { registerVoicedCommandHandler(new AwayCmd()); } if (Config.ALLOW_FARM1_COMMAND || Config.ALLOW_FARM2_COMMAND || Config.ALLOW_PVP1_COMMAND || Config.ALLOW_PVP2_COMMAND) { registerVoicedCommandHandler(new FarmPvpCmd()); } if (Config.ALLOW_ONLINE_VIEW) { registerVoicedCommandHandler(new Online()); } if (Config.OFFLINE_TRADE_ENABLE && Config.OFFLINE_COMMAND2) { registerVoicedCommandHandler(new OfflineShop()); } if(Config.NEW_PLAYER_PINCODE) { registerVoicedCommandHandler(new pincode()); } if(Config.TOP_PVP_ENABLE) { //registerVoicedCommandHandler(new TopPvp()); } if(Config.ENABLE_QUIZ_EVENT) { registerVoicedCommandHandler(new Quiz()); } if(Config.ENABLE_HIDDENBASTARD_EVENT) { registerVoicedCommandHandler(new HiddenBastardCmd()); } registerVoicedCommandHandler(new menu()); _log.config("VoicedCommandHandler: Loaded " + _datatable.size() + " handlers."); Link to comment Share on other sites More sharing options...
0 Klay Posted April 2, 2015 Share Posted April 2, 2015 You can either delete this line registerVoicedCommandHandler(new menu()); or insert a simple boolean in order to enable/disable it when you wish(like the rest of voicedcommands). Link to comment Share on other sites More sharing options...
0 Gold3xx Posted April 2, 2015 Author Share Posted April 2, 2015 Topic solved Thanks! Link to comment Share on other sites More sharing options...
0 Katherine Posted April 2, 2015 Share Posted April 2, 2015 Locked. Link to comment Share on other sites More sharing options...
Question
Gold3xx
Some help :D
Link to comment
Share on other sites
5 answers to this question
Recommended Posts