-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid reflection when using SportPaper #1288
Conversation
83d3bab
to
b2f56f4
Compare
This has been updated to add a fallback for older versions of SportPaper. However, it does now depend on newer versions of SportPaper to build thus the action failure. |
util/src/main/java/tc/oc/pgm/util/nms/v1_8/NMSHacksSportPaper.java
Outdated
Show resolved
Hide resolved
2da97b5
to
a8527af
Compare
a8527af
to
dc0e5f7
Compare
@Electroid The relevant PR for this has been merged in SportPaper however it does not seem to be deployed to the Maven repo for SportPaper. Any ideas? |
dc0e5f7
to
b20fb85
Compare
The reflection used in NMSHacks1_8 breaks in modern Java versions, but we can modify SportPaper to avoid that here. Signed-off-by: BT (calcastor/mame) <[email protected]>
b20fb85
to
6a0c4c9
Compare
Signed-off-by: BT (calcastor/mame) <[email protected]>
6a0c4c9
to
89f10a3
Compare
GitHub actions doesn't seem to like the pgm.fyi maven repo, but with snapshots enabled for the SportPaper maven repo the build succeeds here now. That seems to be only permitted for authenticated GitHub users, however the pgm.fyi maven repo does seem to work fine for local builds. |
Depends on Electroid/SportPaper#139The reflection used in NMSHacks1_8 breaks in modern Java versions, but we can modify SportPaper and avoid that here.