Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 11:00:05 +01:00
Fixed some javadocs.
Dieser Commit ist enthalten in:
Ursprung
b3e03f59ac
Commit
6262fe35bd
@ -354,8 +354,9 @@ public abstract class LocalWorld implements World {
|
||||
/**
|
||||
* Kill mobs in an area, excluding pet wolves.
|
||||
*
|
||||
* @param origin -1 for the whole world
|
||||
* @return
|
||||
* @param origin The center of the area to kill mobs in
|
||||
* @param radius -1 for the whole world
|
||||
* @return number of mobs killed
|
||||
*/
|
||||
@Deprecated
|
||||
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 radius -1 for all mobs
|
||||
* @param killPets whether to kill pets
|
||||
* @return
|
||||
* @return number of mobs killed
|
||||
*/
|
||||
@Deprecated
|
||||
public int killMobs(Vector origin, int radius, boolean killPets) {
|
||||
@ -378,10 +379,10 @@ public abstract class LocalWorld implements World {
|
||||
/**
|
||||
* Kill mobs in an area.
|
||||
*
|
||||
* @param origin
|
||||
* @param radius
|
||||
* @param flags
|
||||
* @return
|
||||
* @param origin The center of the area to kill mobs in
|
||||
* @param radius -1 for all mobs
|
||||
* @param flags various flags that determine what to kill
|
||||
* @return number of mobs killed
|
||||
*/
|
||||
public int killMobs(Vector origin, double radius, int flags) {
|
||||
return killMobs(origin, (int) radius, (flags & KillFlags.PETS) != 0);
|
||||
|
@ -926,7 +926,7 @@ public class BukkitWorld extends LocalWorld {
|
||||
* @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 flags various flags that determine what to kill
|
||||
* @return
|
||||
* @return number of mobs killed
|
||||
*/
|
||||
@Override
|
||||
public int killMobs(Vector origin, double radius, int flags) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren