From 6262fe35bd772e5c5712e9f7993eee65040f03f2 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sun, 23 Mar 2014 22:25:11 +0100 Subject: [PATCH] Fixed some javadocs. --- src/main/java/com/sk89q/worldedit/LocalWorld.java | 15 ++++++++------- .../com/sk89q/worldedit/bukkit/BukkitWorld.java | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/LocalWorld.java b/src/main/java/com/sk89q/worldedit/LocalWorld.java index fa7d3e539..449faa681 100644 --- a/src/main/java/com/sk89q/worldedit/LocalWorld.java +++ b/src/main/java/com/sk89q/worldedit/LocalWorld.java @@ -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); diff --git a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index b79374498..c7bf76097 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -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) {