1
0
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:
snowleo 2011-09-30 00:15:57 +02:00
parent cbe352a4dd
commit c97fb64d0a

View File

@ -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