diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/block/MobSpawner.java | 2 | ||||
-rw-r--r-- | src/main/java/org/bukkit/event/player/PlayerEggThrowEvent.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/block/MobSpawner.java b/src/main/java/org/bukkit/block/MobSpawner.java index 1e1c6cd9..b9e31838 100644 --- a/src/main/java/org/bukkit/block/MobSpawner.java +++ b/src/main/java/org/bukkit/block/MobSpawner.java @@ -7,7 +7,7 @@ import org.bukkit.entity.MobType; *
* @author sk89q
*
- * @deprecated
+ * @deprecated Use CreatureSpawner instead.
*/
public interface MobSpawner extends BlockState {
/**
diff --git a/src/main/java/org/bukkit/event/player/PlayerEggThrowEvent.java b/src/main/java/org/bukkit/event/player/PlayerEggThrowEvent.java index d0eb5abe..365e530e 100644 --- a/src/main/java/org/bukkit/event/player/PlayerEggThrowEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerEggThrowEvent.java @@ -84,7 +84,7 @@ public class PlayerEggThrowEvent extends PlayerEvent { * * @param hatchType The type of the mob being hatched by the egg * - * @deprecated + * @deprecated Use setHatchType(CreatureType hatchType) instead. */ public void setHatchType(MobType hatchType) { this.hatchType = CreatureType.fromName(hatchType.getName()); |