Fix for bots disappearing while idle (update)

This commit is contained in:
Uleat committed 2019-01-29 20:25:35 -05:00
1 parent 444acb7c70
commit bc79e28d49
4 files changed
+15 -27

No files matched your search

-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