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.

zeetillz

Members
  • Joined

  • Last visited

  1. What vanilla item has the id 3877? That's right, NOTHING. What is an item that is NOTHING? Why it's NULL. Congradulations, you have a NPE. OHHHHHHH, well that makes sense, doh, silly me. so if(item == null){ continue; } should fix the issue Thanks a bunch!
  2. Right ok, thanks for this, but the thing is I haven't added any items, and in theory I should just be looping through all the default items
  3. Hi, I am currently trying to iterate through Item.itemsList e.g Item[] allItems = Item.itemsList;; for (int i = 0; i < allItems.length; i++) { allItems[i].getStatName(); // to display in GUI // to display in config file } But overtime I do i get a java.lang.NullPointerException I know that allItems.getStatName(); is causing the issue since if I were to write to a config file, say, the value of 'i', within the loop, it works. Is there any way to fix this or are there any other alternatives (I am C# developer so not everything in Java is apparent to me) Thanks in advance.

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.