Converted emulated player class calls to use base class.

This commit is contained in:
KHobbits 2014-04-13 01:01:49 +01:00
parent e007331581
commit 36e580474f
61 changed files with 214 additions and 214 deletions

View file

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