Placing block while AFK makes you un-AFK.

This commit is contained in:
UnknownShadow200 2017-10-21 13:35:35 +11:00
parent 94f50a4aaf
commit 3ba1b796e5

View File

@ -279,6 +279,9 @@ namespace MCGalaxy {
Leave(msg, msg, true); return;
}
LastAction = DateTime.UtcNow;
if (IsAfk) CmdAfk.ToggleAfk(this, "");
ExtBlock held = ExtBlock.FromRaw(buffer[offset + 8]);
RawHeldBlock = held;