Fix for bots disappearing while idle (update)

This commit is contained in:
Uleat
2019-01-29 20:25:35 -05:00
parent 444acb7c70
commit bc79e28d49
4 changed files with 15 additions and 27 deletions
-6
View File
@@ -1075,9 +1075,6 @@ void Bot::WalkTo(float x, float y, float z)
if (IsSitting())
Stand();
if (ping_timer.Enabled())
ping_timer.Disable();
Mob::WalkTo(x, y, z);
}
@@ -1086,9 +1083,6 @@ void Bot::RunTo(float x, float y, float z)
if (IsSitting())
Stand();
if (ping_timer.Enabled())
ping_timer.Disable();
Mob::RunTo(x, y, z);
}
#endif