Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null Exception for tile #5

Open
HitomiFlower opened this issue Nov 18, 2019 · 0 comments
Open

Null Exception for tile #5

HitomiFlower opened this issue Nov 18, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@HitomiFlower
Copy link
Owner

KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <437ba245d8404784b9fbab9b439ac908>:0)
GamePlay.Server.Model.ServerRoundStatus.GetPlayer (System.Int32 playerIndex) (at Assets/Scripts/GamePlay/Server/Model/ServerRoundStatus.cs:70)
GamePlay.Server.Controller.GameState.PlayerDiscardTileState.OnServerStateEnter () (at Assets/Scripts/GamePlay/Server/Controller/GameState/PlayerDiscardTileState.cs:59)
GamePlay.Server.Controller.GameState.ServerState.OnStateEnter () (at Assets/Scripts/GamePlay/Server/Controller/GameState/ServerState.cs:26)
Common.StateMachine.StateMachine.ChangeState (Common.StateMachine.Interfaces.IState newState) (at Assets/Scripts/Common/StateMachine/StateMachine.cs:16)
GamePlay.Server.Controller.ServerBehaviour.DiscardTile (System.Int32 playerIndex, Mahjong.Model.Tile tile, System.Boolean isRichiing, System.Boolean discardLastDraw, System.Int32 bonusTurnTime, System.Boolean turnDoraAfterDiscard) (at Assets/Scripts/GamePlay/Server/Controller/ServerBehaviour.cs:141)
GamePlay.Server.Controller.GameState.PlayerDrawTileState.OnStateUpdate () (at Assets/Scripts/GamePlay/Server/Controller/GameState/PlayerDrawTileState.cs:303)
Common.StateMachine.StateMachine.UpdateState () (at Assets/Scripts/Common/StateMachine/StateMachine.cs:21)
GamePlay.Server.Controller.ServerBehaviour.Update () (at Assets/Scripts/GamePlay/Server/Controller/ServerBehaviour.cs:64)
@HitomiFlower HitomiFlower added the bug Something isn't working label Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant