Przeglądaj źródła

【BUG】MMO-20336: 自动拾取状态机失效,导致玩家原地跑

meijun 3 lat temu
rodzic
commit
c29dae5043

+ 8 - 1
XmdsCommonServer/Plugin/Units/XmdsInstancePlayer.cs

@@ -548,7 +548,14 @@ namespace XmdsCommonServer.Plugin.Units
             }
 			else if(this.mFocusPickItem != null && this.mFocusPickItem.IsActive)
 			{
-				return;
+				if (this.mFocusPickItem.IsBlock())
+				{
+					this.mFocusPickItem = null;
+				}
+				else
+				{
+					return;
+				}				
 			}
             else if (IsGuard == true && (mXmdsFocusTarget == null || (mXmdsFocusTarget != null && !mXmdsFocusTarget.IsActive)))
             {