When deprecating, the alternative should be provided.
This commit is contained in:
parent
a748069eb3
commit
050f21b2f0
@ -7,7 +7,7 @@ import org.bukkit.entity.MobType;
|
|||||||
*
|
*
|
||||||
* @author sk89q
|
* @author sk89q
|
||||||
*
|
*
|
||||||
* @deprecated
|
* @deprecated Use CreatureSpawner instead.
|
||||||
*/
|
*/
|
||||||
public interface MobSpawner extends BlockState {
|
public interface MobSpawner extends BlockState {
|
||||||
/**
|
/**
|
||||||
|
@ -84,7 +84,7 @@ public class PlayerEggThrowEvent extends PlayerEvent {
|
|||||||
*
|
*
|
||||||
* @param hatchType The type of the mob being hatched by the egg
|
* @param hatchType The type of the mob being hatched by the egg
|
||||||
*
|
*
|
||||||
* @deprecated
|
* @deprecated Use setHatchType(CreatureType hatchType) instead.
|
||||||
*/
|
*/
|
||||||
public void setHatchType(MobType hatchType) {
|
public void setHatchType(MobType hatchType) {
|
||||||
this.hatchType = CreatureType.fromName(hatchType.getName());
|
this.hatchType = CreatureType.fromName(hatchType.getName());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user