mirror of
				https://github.com/inf112-v20/Fiasko.git
				synced 2025-10-26 23:33:44 +01:00 
			
		
		
		
	added catch exeption to send function
This commit is contained in:
		| @@ -30,9 +30,10 @@ public class RoboRallyClient { | ||||
|      * Sends something to the server | ||||
|      * @param object The object to send to the server | ||||
|      */ | ||||
|     public void sendElement(Object object) { | ||||
|         client.sendTCP(object); | ||||
|     } | ||||
|     public void sendElement(Object object) {try{ | ||||
|         client.sendTCP(object);} | ||||
|         catch(Exception e){e.printStackTrace();} | ||||
|         } | ||||
| } | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tobydrama
					Tobydrama