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

Method removePath

src/main/java/mudmap2/backend/Place.java:240–244  ·  view source on GitHub ↗

Removes a path @param path

(final Path path)

Source from the content-addressed store, hash-verified

238 * @param path
239 */
240 public void removePath(final Path path) {
241 paths.remove(path);
242 path.getOtherPlace(this).paths.remove(path);
243 callWorldChangeListeners();
244 }
245
246 /**
247 * Removes a set of paths

Callers 2

testRemovePathMethod · 0.95
removeMethod · 0.80

Calls 3

getOtherPlaceMethod · 0.80
removeMethod · 0.65

Tested by 1

testRemovePathMethod · 0.76