mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-18 22:31:21 +01:00
If enforceaccess == false, show all players all worlds (unless they're hidden)
This commit is contained in:
parent
01bed7cc4b
commit
54e7bc454a
@ -40,7 +40,7 @@ public class ListCommand extends MultiverseCommand {
|
||||
String output = ChatColor.LIGHT_PURPLE + "Worlds which you can view:\n";
|
||||
for (MultiverseWorld world : this.plugin.getMVWorldManager().getMVWorlds()) {
|
||||
|
||||
if (p != null && (!this.plugin.getMVPerms().canEnterWorld(p, world))) {
|
||||
if (MultiverseCore.EnforceAccess && p != null && (!this.plugin.getMVPerms().canEnterWorld(p, world))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user