Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Byte #1

Closed
mikroskeem opened this issue Jul 1, 2017 · 3 comments

Comments

@mikroskeem
Copy link

Woo, I could give your plugin a try finally :)

But it throws ClassCastException when player joins, I guess it is because packet field type is different in 1.12.

Stack trace: https://paste.mikroskeem.eu/babevoguci.rb

@MrPowerGamerBR
Copy link
Owner

Actually it is due to a broken check I made, I fixed this a long time ago but I never bothered submitting an update or updating the source.

Anyway, I fixed the issue if you know how to recompile the source, I will submit an update to Spigot ASAP. :)

@MrPowerGamerBR
Copy link
Owner

However I didn't test this fix in 1.12, if the same error still happens under 1.12, please open a new issue! 😄

@mikroskeem
Copy link
Author

I made bunch of changes and threw in exactly the same check into my fork. Everything seemed to work fine.

Also I have working jar under releases, if you're interested.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants