Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1013959 // runInMCVarWithAutoRestart

JavaX fragment (include)

static void runInMCVarWithAutoRestart(S varName, S programID) {
  runInMCVarWithAutoRestart(varName, programID, null);
}

static void runInMCVarWithAutoRestart(S varName, S programID, O afterReload) {
  set(mc(), varName, runDependent(programID));
  callF(afterReload);
  autoRestartModule(varName, programID, true, afterReload);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013959
Snippet name: runInMCVarWithAutoRestart
Eternal ID of this version: #1013959/5
Text MD5: 25060dd854bacfb5fcd67f2de8c8ee6f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-20 22:59:25
Source code size: 339 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 416 / 438
Version history: 4 change(s)
Referenced in: [show references]