Bimde / Blackjack-Server

MIT License
0 stars 1 forks source link

Fix get method (must get by playerNo) #17

Closed Bimde closed 8 years ago

Bimde commented 8 years ago

Change the ArrayList to ClientList

xuwilliam01 commented 8 years ago

Clientlist had nullpoint issues so I had to change it to arraylist. We can keep it as an arraylist and get by the client (create new client with the playerNo we want and search, since I made compareTo by playerNo)

Bimde commented 8 years ago

Ok, I see then, I won't change it

Bimde commented 8 years ago

Changed to ClientList and fixed (due to having to create a new Client object each time in order to use get with ArrayList)