Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

kberg

Members
  • Joined

  • Last visited

  1. OK. I'm using 1.12. May I suggest that instead of return s.endsWith(p_191384_1_); It ends with boolean valid = s.endsWith(p_191384_1_); if (!valid) { whateverLogger.log("Invalid filename: %s, is it mixed case?", s); } return valid; Thanks, Robert
  2. I'm noticing that my OSX workstation isn't playing happily with Minecraft because it is a case sensitive filesystem. For example, when loading the language file, it finally gets to FolderResourcePack.validatePath, it hits this line: >>> return s.endsWith(p_191384_1_); Looking at a debugger, here are the values of s and p_19blah /Users/<redacted>/src/forge/bin/assets/konigsmod/lang/en_US.lang assets/konigsmod/lang/en_us.lang So because their cases do not match, the path is not valid. But it's not just there, I have a file a json file that has the same problem, because I describe my items in mixedCase. Is it possible you could replace s.endsWith(p_191384_1_) with s.toLowerCase().endsWith(p_191384_1_1.toLowerCase());? That's not i18n friendly, but if the system already deals with encodings, it gets simpler. Why does that check even exist, anyway? In the meantime, I plan to switch my resource names to lowercase. Hopefully that'll help. Thanks, Robert

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.