diff --git a/GUI/Program.cs b/GUI/Program.cs index e3b50775e..16c09fe4a 100644 --- a/GUI/Program.cs +++ b/GUI/Program.cs @@ -106,8 +106,8 @@ namespace MCGalaxy.Gui Cursor c = Cursors.SizeNWSE; } catch (ArgumentException ex) { Logger.LogError("checking Cursors", ex); - Popup.Warning("Video driver appears to be returning buggy cursor sizes\n\nAttempting to workaround this issue (might not work)"); try { BypassCursorsHACK(); } catch { } + Popup.Warning("Video driver appears to be returning buggy cursor sizes\n\nAttempted to workaround this issue (might not work)"); } catch (Exception ex) { Logger.LogError("checking Cursors", ex); } diff --git a/MCGalaxy/Bots/Instructions/HunterInstructions.cs b/MCGalaxy/Bots/Instructions/HunterInstructions.cs index cce245966..868daf0ab 100644 --- a/MCGalaxy/Bots/Instructions/HunterInstructions.cs +++ b/MCGalaxy/Bots/Instructions/HunterInstructions.cs @@ -159,9 +159,9 @@ namespace MCGalaxy.Bots static void FaceTowards(PlayerBot bot, Player p) { Position srcPos = bot.Pos; - srcPos.Y += ModelInfo.CalcEyeHeight(p); + srcPos.Y += ModelInfo.CalcEyeHeight(bot); Position dstPos = p.Pos; - dstPos.Y += ModelInfo.CalcEyeHeight(bot); + dstPos.Y += ModelInfo.CalcEyeHeight(p); bot.FaceTowards(srcPos, dstPos); }