MCPcopy Create free account
hub / github.com/Neop/mudmap2 / register

Method register

src/main/java/mudmap2/backend/WorldManager.java:44–48  ·  view source on GitHub ↗

Add world to loaded worlds list @param world

(World world)

Source from the content-addressed store, hash-verified

42 * @param world
43 */
44 public static void register(World world){
45 if(!loadedWorlds.contains(world)){
46 loadedWorlds.add(world);
47 }
48 }
49
50 /**
51 * Remove world from loaded worlds list

Callers 5

testRegisterMethod · 0.95
testCloseMethod · 0.95
testGetWorldMethod · 0.95
getWorldMethod · 0.95
getNewWorldMethod · 0.95

Calls 1

containsMethod · 0.65

Tested by 3

testRegisterMethod · 0.76
testCloseMethod · 0.76
testGetWorldMethod · 0.76