File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/main/java/org/mvplugins/multiverse/inventories/commands Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 44import org .mvplugins .multiverse .core .command .MVCommandIssuer ;
55import org .mvplugins .multiverse .inventories .config .InventoriesConfig ;
66import org .mvplugins .multiverse .inventories .share .Sharable ;
7+ import org .mvplugins .multiverse .inventories .share .Sharables ;
78import org .mvplugins .multiverse .inventories .share .Shares ;
89import org .mvplugins .multiverse .core .command .MVCommandManager ;
910import org .mvplugins .multiverse .external .acf .commands .annotation .CommandAlias ;
@@ -54,6 +55,13 @@ void onToggleCommand(
5455 } else {
5556 optionalShares .add (sharable );
5657 issuer .sendInfo (MVInvi18n .TOGGLE_NOWUSINGOPTIONAL , replace ("{share}" ).with (sharable .getNames ()[0 ]));
58+
59+ // special tip to our wiki page, hopefully this reduces the number of people asking the
60+ // same old questions about last location config options on discord.
61+ if (sharable == Sharables .LAST_LOCATION ) {
62+ issuer .sendInfo ("For more information on configuring last location, please see: " +
63+ "https://mvplugins.org/inventories/how-to/configure-last-location/" );
64+ }
5765 }
5866 inventoriesConfig .setActiveOptionalShares (optionalShares );
5967 inventoriesConfig .save ();
You can’t perform that action at this time.
0 commit comments