mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2024-12-23 00:15:08 +00:00
world not work
This commit is contained in:
parent
6c1fb14cda
commit
56f633d58b
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ public class OpenInvPluginCommand implements CommandExecutor {
|
|||
return;
|
||||
}
|
||||
|
||||
// Crosswork check
|
||||
// Crossworld check
|
||||
if ((!OpenInv.hasPermission(player, Permissions.PERM_CROSSWORLD) && !OpenInv.hasPermission(player, Permissions.PERM_OVERRIDE)) && target.getWorld() != player.getWorld()) {
|
||||
player.sendMessage(ChatColor.RED + target.getDisplayName() + " is not in your world!");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue