3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-28 03:40:05 +01:00

Fixed some javadocs.

Dieser Commit ist enthalten in:
TomyLobo 2014-03-23 22:25:11 +01:00
Ursprung b3e03f59ac
Commit 6262fe35bd
2 geänderte Dateien mit 9 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -354,8 +354,9 @@ public abstract class LocalWorld implements World {
/** /**
* Kill mobs in an area, excluding pet wolves. * Kill mobs in an area, excluding pet wolves.
* *
* @param origin -1 for the whole world * @param origin The center of the area to kill mobs in
* @return * @param radius -1 for the whole world
* @return number of mobs killed
*/ */
@Deprecated @Deprecated
public int killMobs(Vector origin, int radius) { public int killMobs(Vector origin, int radius) {
@ -368,7 +369,7 @@ public abstract class LocalWorld implements World {
* @param origin The center of the area to kill mobs in * @param origin The center of the area to kill mobs in
* @param radius -1 for all mobs * @param radius -1 for all mobs
* @param killPets whether to kill pets * @param killPets whether to kill pets
* @return * @return number of mobs killed
*/ */
@Deprecated @Deprecated
public int killMobs(Vector origin, int radius, boolean killPets) { public int killMobs(Vector origin, int radius, boolean killPets) {
@ -378,10 +379,10 @@ public abstract class LocalWorld implements World {
/** /**
* Kill mobs in an area. * Kill mobs in an area.
* *
* @param origin * @param origin The center of the area to kill mobs in
* @param radius * @param radius -1 for all mobs
* @param flags * @param flags various flags that determine what to kill
* @return * @return number of mobs killed
*/ */
public int killMobs(Vector origin, double radius, int flags) { public int killMobs(Vector origin, double radius, int flags) {
return killMobs(origin, (int) radius, (flags & KillFlags.PETS) != 0); return killMobs(origin, (int) radius, (flags & KillFlags.PETS) != 0);

Datei anzeigen

@ -926,7 +926,7 @@ public class BukkitWorld extends LocalWorld {
* @param origin The center of the area to kill mobs in. * @param origin The center of the area to kill mobs in.
* @param radius Maximum distance to kill mobs at; radius < 0 means kill all mobs * @param radius Maximum distance to kill mobs at; radius < 0 means kill all mobs
* @param flags various flags that determine what to kill * @param flags various flags that determine what to kill
* @return * @return number of mobs killed
*/ */
@Override @Override
public int killMobs(Vector origin, double radius, int flags) { public int killMobs(Vector origin, double radius, int flags) {