Skip to content
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

Exceeds in health (Causes an error) #4

Open
ghost opened this issue Nov 23, 2017 · 1 comment
Open

Exceeds in health (Causes an error) #4

ghost opened this issue Nov 23, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 23, 2017

Hi, I have currently been watching your tutorials and I love the detailed examples and explanation of your lessons. I have come up with a problem however and I hope you can help me fix it as soon as possible. The error (https://pastebin.com/LD2zL1gy) basically states that when I click the emerald block and I have full health, it is not possible to add more health to the player. I know I can ask this question on Spigot but I would like you to edit your episode 4 so others will not get this error as they are learning. Thank you so much and good luck on Youtube!

@TheAnarchistDev
Copy link

TheAnarchistDev commented Apr 15, 2018

Did you make sure that you added in if(player.getHealth()!=20)
if you didn't then thats why you're getting that error

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

No branches or pull requests

1 participant