Skip to content

Commit 3292ec0

Browse files
authored
Merge pull request #629 from Multiverse/chore/fixes
Minor fixes to prep for 5.2 release
2 parents 0de3b70 + 84c6824 commit 3292ec0

File tree

5 files changed

+3
-7
lines changed

5 files changed

+3
-7
lines changed

src/main/java/org/mvplugins/multiverse/inventories/config/InventoriesConfigNodes.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ public Object serialize(Shares sharables, Class<Shares> aClass) {
167167
.build());
168168

169169
final ConfigNode<Boolean> applyPlayerdataOnJoin = node(ConfigNode.builder("performance.apply-playerdata-on-join", Boolean.class)
170-
.comment("This will only work if save-playerdata-on-quit is set to true.")
171170
.comment("Minecraft will already load the most up-to-date player data and this option will generally be redundant.")
172171
.comment("The only possible edge case uses is if you have a need to always modify the mvinv playerdata while the player is offline.")
173172
.defaultValue(false)

src/main/java/org/mvplugins/multiverse/inventories/profile/group/AbstractWorldGroupManager.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,6 @@ private void checkConflict(WorldGroup checkingGroup,
225225
// No overlapping shares.
226226
return;
227227
}
228-
if (checkingGroup.getApplicableWorlds().containsAll(worldGroup.getApplicableWorlds())
229-
|| worldGroup.getApplicableWorlds().containsAll(checkingGroup.getApplicableWorlds())) {
230-
// If one group contains all the worlds of the other, we don't consider it a conflict.
231-
return;
232-
}
233228
Logging.finer("Conflict found for %s and %s", checkingGroup.getName(), worldGroup.getName());
234229
conflicts.add(new GroupingConflict(checkingGroup, worldGroup, Sharables.fromShares(conflictingShares)));
235230
}

src/main/java/org/mvplugins/multiverse/inventories/view/ModifiableInventoryHolder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*
1616
* @since 5.2
1717
*/
18+
@ApiStatus.Experimental
1819
@ApiStatus.AvailableSince("5.2")
1920
public final class ModifiableInventoryHolder implements InventoryHolder {
2021
private final OfflinePlayer targetPlayer;

src/main/java/org/mvplugins/multiverse/inventories/view/ReadOnlyInventoryHolder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*
1212
* @since 5.2
1313
*/
14+
@ApiStatus.Experimental
1415
@ApiStatus.AvailableSince("5.2")
1516
public final class ReadOnlyInventoryHolder implements InventoryHolder {
1617
/**

src/main/resources/multiverse-inventories_en.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mv-inventories.error.nosharesspecified=&cYou did not specify any valid shares!
2626
# Conflicts
2727
mv-inventories.conflict.results=&cConflict found for groups: '&6{group1}&c' and '&6{group2}&c'! Both groups contains world(s) '&3{worlds}&c' that share(s): '&3{shares}&c'.
2828
mv-inventories.conflict.checking=Checking for conflicts in groups...
29-
mv-inventories.conflict.found=&cConflicts have been found... If these are not resolved, you may experience problems with your data.
29+
mv-inventories.conflict.found=&cConflicts have been found... If these are not resolved, you may experience problems with your player's inventory data.
3030
mv-inventories.conflict.notfound=No group conflicts found!
3131

3232
# Commands

0 commit comments

Comments
 (0)