When deprecating, the alternative should be provided.
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user