Java Eclipse .getMaxHealth() error?

Status
This thread has been locked.

Notifyz

x
Banned
Feedback score
128
Posts
2,523
Reactions
2,639
Resources
0
Hey,

I'm wondering have anyone found fix for this retarded error http://prntscr.com/dp8jia I've been searching google and nothing was helpful..
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

DedicatedRam

Premium
Feedback score
4
Posts
271
Reactions
106
Resources
0
Two things.
Don't use para core, at least it looks like it from my perspective.
Second, cast Damageable to it.
 

Notifyz

x
Banned
Feedback score
128
Posts
2,523
Reactions
2,639
Resources
0
For all fuckers that are complaining about core its IHCF and it was bought by subboted.
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/notifyz-scam-report.515571/)

Oxygeno

Feedback score
-2
Posts
20
Reactions
17
Resources
0
player.setHealth(Math.min((CraftPlayer)p).getMaxHealth(), loggerEntity.getHealath()));
Before this you would need to define p (player).
Player p = e.getPlayer();[DOUBLEPOST=1483377922][/DOUBLEPOST]
player.setHealth(Math.min((CraftPlayer)p).getMaxHealth(), loggerEntity.getHealath()));
Before this you would need to define p (player).
Player p = e.getPlayer();
*player.setHealth(Math.min((CraftPlayer)p).getMaxHealth(), loggerEntity.getHealth()));
 
Status
This thread has been locked.
Top