mirror of
				https://github.com/packwiz/packwiz-installer.git
				synced 2025-11-04 12:34:31 +01:00 
			
		
		
		
	Put an error message there. Later is now!
This commit is contained in:
		@@ -255,8 +255,7 @@ class UpdateManager internal constructor(private val opts: Options, val ui: IUse
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
		if (!indexFileSource.hashIsEqual(indexHash)) {
 | 
			
		||||
			// TODO: throw exception
 | 
			
		||||
			println("I was meant to put an error message here but I'll do that later")
 | 
			
		||||
			ui.handleExceptionAndExit(RuntimeException("Your index hash is invalid! Please run packwiz refresh on the pack again"))
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
		if (stateHandler.cancelButton) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user