mirror of
https://github.com/essentials/Essentials.git
synced 2025-03-15 01:20:19 +01:00
Allow delhome for offline users
This commit is contained in:
parent
cbe352a4dd
commit
c97fb64d0a
@ -31,7 +31,7 @@ public class Commanddelhome extends EssentialsCommand
|
|||||||
}
|
}
|
||||||
else if (args.length > 1 && (user == null || user.isAuthorized("essentials.delhome.others")))
|
else if (args.length > 1 && (user == null || user.isAuthorized("essentials.delhome.others")))
|
||||||
{
|
{
|
||||||
user = getPlayer(server, args, 0);
|
user = getPlayer(server, args, 0, true);
|
||||||
name = args[1];
|
name = args[1];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user