- Joined
- Jun 21, 2014
- Messages
- 350
- Thread Author
- #1
As you can see the timestamps don't line up:
		
		
	
	
		 
	
I'm using the following code:
	
	
	
		
to get the latest message in the chatbox.
Steps to reproduce:
Get the latest message and print out the contents
Problem: It only works for a while, then it stops working, only solution is to relog.
Proof that it works at first using the same code:
		 
	
It seems to happen when a 'News' message is displayed, where it stops working thereafter, though this could just be a coincidence, it could be due to the messages reaching the end of the chat, I don't know.
		 
	
 
@Cloud
Edit: Same behavior regardless of if timestamps are enabled or not
			
			 
	I'm using the following code:
		Code:
	
	System.out.println(Chatbox.getMessages().get(Chatbox.getMessages().size() - 1).getMessage().toString());Steps to reproduce:
Get the latest message and print out the contents
Problem: It only works for a while, then it stops working, only solution is to relog.
Proof that it works at first using the same code:
 
	It seems to happen when a 'News' message is displayed, where it stops working thereafter, though this could just be a coincidence, it could be due to the messages reaching the end of the chat, I don't know.
 
	@Cloud
Edit: Same behavior regardless of if timestamps are enabled or not
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							
 
 
		

 
 
		 
 
		
 
 
		

