Update to use Bukkit 1.7.10-R0.1 API, rip out old SpoutPlugin support

This commit is contained in:
Mike Primm 2014-10-13 09:41:14 -05:00
parent af1bcd1094
commit 0f722da05d
7 changed files with 9 additions and 351 deletions

View file

@ -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;