Update to use Bukkit 1.7.10-R0.1 API, rip out old SpoutPlugin support
This commit is contained in:
parent
af1bcd1094
commit
0f722da05d
7 changed files with 9 additions and 351 deletions
|
|
@ -416,7 +416,8 @@ public abstract class BukkitVersionHelperGeneric extends BukkitVersionHelper {
|
|||
/**
|
||||
* Get player health
|
||||
*/
|
||||
public int getHealth(Player p) {
|
||||
@Override
|
||||
public double getHealth(Player p) {
|
||||
Object health = callMethod(p, player_gethealth, nullargs, null);
|
||||
if (health instanceof Integer) {
|
||||
return (Integer) health;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue