Move translations to a separate package
Makes it easier to find non-language files as necessary
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (C) 2011-2021 lishid. All rights reserved.
 | 
			
		||||
 * Copyright (C) 2011-2022 lishid. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 * This program is free software: you can redistribute it and/or modify
 | 
			
		||||
 * it under the terms of the GNU General Public License as published by
 | 
			
		||||
@@ -56,7 +56,7 @@ public class LanguageManager {
 | 
			
		||||
			return loaded;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		InputStream resourceStream = plugin.getResource(locale + ".yml");
 | 
			
		||||
		InputStream resourceStream = plugin.getResource("locale/" + locale + ".yml");
 | 
			
		||||
		YamlConfiguration localeConfigDefaults;
 | 
			
		||||
		if (resourceStream == null) {
 | 
			
		||||
			localeConfigDefaults = new YamlConfiguration();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user