- Cleanup GameRules (mostly make a variable private)

- Minor cleanup in some other files
This commit is contained in:
elcnesh
2015-06-04 16:06:48 +00:00
parent 71e4464ad9
commit 4eef9618d0
9 changed files with 48 additions and 55 deletions

View File

@@ -1058,7 +1058,7 @@ public class FSkin {
final File f = new File(preferredDir + ForgeConstants.SPLASH_BG_FILE);
if (!f.exists()) {
if (skinName.equals("default")) {
throw new RuntimeException("Cannot find default skin.");
throw new RuntimeException(String.format("Cannot find default skin at %s", f.getAbsolutePath()));
}
loadLight("default", true);
return;