|  |  | @ -269,15 +269,17 @@ public class Mine extends AbstractGameObject { | 
			
		
	
		
		
			
				
					
					|  |  |  |         writer.putInt(mine.getModifiedProductionAmount()); //TODO calculate range penalty here
 |  |  |  |         writer.putInt(mine.getModifiedProductionAmount()); //TODO calculate range penalty here
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         writer.putInt(3600); //window in seconds
 |  |  |  |         writer.putInt(3600); //window in seconds
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         // Errant mines are currently open.   Set time to now.
 |  |  |  |         // Errant mines are currently open.  Set time to now.
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         LocalDateTime mineOpenTime = LocalDateTime.now().withMinute(0).withSecond(0).withNano(0); |  |  |  |         LocalDateTime mineOpenTime = LocalDateTime.now().withMinute(0).withSecond(0).withNano(0); | 
			
		
	
		
		
			
				
					
					|  |  |  |         Guild mineOwnerGuild = mine.getOwningGuild(); |  |  |  |         Guild mineOwnerGuild = mine.getOwningGuild(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         // Adjust the serialized mine time based upon whether
 |  |  |  |         // Adjust the serialized mine time based upon whether
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         // the Guild's mine window has passed or not.
 |  |  |  |         // the Guild's mine window has passed or not.
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		// If a mine is active serialize current datetime irrespective
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		// of any claim
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (mineOwnerGuild.isErrant() == false) { |  |  |  |         if (mineOwnerGuild.isErrant() == false && mine.isActive == false) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             int guildWOO = mineOwnerGuild.getMineTime(); |  |  |  |             int guildWOO = mineOwnerGuild.getMineTime(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             LocalDateTime guildMineTime = mineOpenTime.withHour(guildWOO); |  |  |  |             LocalDateTime guildMineTime = mineOpenTime.withHour(guildWOO); | 
			
		
	
	
		
		
			
				
					|  |  | @ -287,11 +289,6 @@ public class Mine extends AbstractGameObject { | 
			
		
	
		
		
			
				
					
					|  |  |  |             else |  |  |  |             else | 
			
		
	
		
		
			
				
					
					|  |  |  |                 mineOpenTime = guildMineTime; |  |  |  |                 mineOpenTime = guildMineTime; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 			// If a mine is active serialize current datetime irrespective
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 			// of any claim
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 			if (mine.isActive == true) |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 				mineOpenTime = LocalDateTime.now().withMinute(0).withSecond(0).withNano(0); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |