@@ -48,7 +48,7 @@ public final class CraftRaid implements Raid {
|
||||
@Override
|
||||
public Location getLocation() {
|
||||
BlockPosition pos = handle.getCenter();
|
||||
World world = handle.getWorld();
|
||||
World world = handle.getLevel();
|
||||
return new Location(world.getWorld(), pos.getX(), pos.getY(), pos.getZ());
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ public final class CraftRaid implements Raid {
|
||||
|
||||
@Override
|
||||
public float getTotalHealth() {
|
||||
return handle.sumMobHealth();
|
||||
return handle.getHealthOfLivingRaiders();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user