mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-07 06:22:00 +00:00
Converted emulated player class calls to use base class.
This commit is contained in:
parent
e007331581
commit
36e580474f
61 changed files with 214 additions and 214 deletions
|
@ -25,7 +25,7 @@ public class Commandlightning extends EssentialsLoopCommand
|
|||
user = ess.getUser(sender.getPlayer());
|
||||
if ((args.length < 1 || user != null && !user.isAuthorized("essentials.lightning.others")))
|
||||
{
|
||||
user.getWorld().strikeLightning(user.getTargetBlock(null, 600).getLocation());
|
||||
user.getWorld().strikeLightning(user.getBase().getTargetBlock(null, 600).getLocation());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue