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

Method remove

src/main/java/mudmap2/backend/Path.java:113–117  ·  view source on GitHub ↗

Removes this path from both places

()

Source from the content-addressed store, hash-verified

111 * Removes this path from both places
112 */
113 public void remove() {
114 //places[0].paths.remove(this);
115 //places[1].paths.remove(this);
116 places[0].removePath(this); // also calls the world listener
117 }
118
119 /**
120 * Gets the opposite direction, eg. n - s or ne - sw

Callers 1

testRemoveMethod · 0.95

Calls 1

removePathMethod · 0.80

Tested by 1

testRemoveMethod · 0.76