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.

[SOLVED] [1.16.4] My packet sending system that worked in 1.15.2 doesn't work for 1.16 versions

Featured Replies

Posted

I checked the docs and I don't think anything changed. I debugged the client and put a breakpoint at decode and handle and none of them were going off. Here's the source code if it helps (it's a little sloppy).

The 1.15.2 branch is pretty much the same and it works fine, the only difference in 1.16.1 and 1.16.4 I added some config options for some new gear. Both 1.16.1 and 1.16.4 have the same problem. I double checked the additions to make sure I didn't make any typos, and I don't think I did. I don't understand the system very well and I'm really confused and I'm not sure what is going on. I'm probably missing something obvious lol. I'd really appreciate any help; let me know if you guys need any more data.

Edited by Squidsword
Solved

  • Author

Wow thanks, I don't know how I missed that. You're definitely right, I wrote it before I took any java classes so it's super sloppy. I took an intro class since and I think I'm going to make some helper methods to reduce the horizontal space needed and maybe make an array instead of doing it all one by one so it'll trim the lines of code down by a bit. Anyway, problem solved!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.