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

Method setPlaceGroup

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

Sets the PlaceGroup @param placeGroup

(final PlaceGroup placeGroup)

Source from the content-addressed store, hash-verified

121 * @param placeGroup
122 */
123 public void setPlaceGroup(final PlaceGroup placeGroup) {
124 this.placeGroup = placeGroup;
125 if (placeGroup != null && getLayer() != null && getLayer().getWorld() != null) {
126 getLayer().getWorld().addPlaceGroup(placeGroup);
127 }
128 callWorldChangeListeners();
129 }
130
131 /**
132 * Gets the minimal recommended level

Callers 9

testGetPlaceGroupMethod · 0.95
testSetPlaceGroupMethod · 0.95
testReadWriteFileMethod · 0.95
testReadWriteFileMethod · 0.95
putPlaceholderMethod · 0.95
readFileMethod · 0.95
saveMethod · 0.80
createNewMethod · 0.80
removePlaceGroupMethod · 0.80

Calls 4

addPlaceGroupMethod · 0.80
getLayerMethod · 0.45
getWorldMethod · 0.45

Tested by 4

testGetPlaceGroupMethod · 0.76
testSetPlaceGroupMethod · 0.76
testReadWriteFileMethod · 0.76
testReadWriteFileMethod · 0.76