From 7d26cc70fb5a24e24d21c293f92a064a4c1f928b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BAben=20Garcia?= Date: Mon, 4 Mar 2024 22:43:07 +0000 Subject: [PATCH] Revert "UnturnedBuiltinCommand switch to pool after exec" This reverts commit 94ae0ec9d2d013be62528b8d4c4ee4405069c47e. --- unturned/OpenMod.Unturned/Commands/UnturnedBuiltinCommand.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/unturned/OpenMod.Unturned/Commands/UnturnedBuiltinCommand.cs b/unturned/OpenMod.Unturned/Commands/UnturnedBuiltinCommand.cs index eb5e58b5..2bcd347f 100644 --- a/unturned/OpenMod.Unturned/Commands/UnturnedBuiltinCommand.cs +++ b/unturned/OpenMod.Unturned/Commands/UnturnedBuiltinCommand.cs @@ -37,7 +37,6 @@ protected override async UniTask OnExecuteAsync() await UniTask.SwitchToMainThread(); var argsLine = string.Join(" ", Context.Parameters); cmd.check(id, m_CommandRegistration.Name, argsLine); - await UniTask.SwitchToThreadPool(); } } } \ No newline at end of file