Fixed one of the issue requests where Herobrine wouldn't look at a
player while haunting them
This commit is contained in:
parent
12d99575c8
commit
a4972b34e2
@ -428,6 +428,9 @@ public class CmdExecutor implements CommandExecutor {
|
|||||||
Bukkit.getServer()
|
Bukkit.getServer()
|
||||||
.getPlayer(
|
.getPlayer(
|
||||||
args[1]));
|
args[1]));
|
||||||
|
String pname = args[1];
|
||||||
|
Player target = Bukkit.getPlayer(pname);
|
||||||
|
P_Core.herobrineNPC.lookAtPoint(target.getLocation());
|
||||||
player.sendMessage(ChatColor.RED
|
player.sendMessage(ChatColor.RED
|
||||||
+ "[Herobrine] Herobrine is now haunting "
|
+ "[Herobrine] Herobrine is now haunting "
|
||||||
+ args[1] + ".");
|
+ args[1] + ".");
|
||||||
|
Reference in New Issue
Block a user