Deprecate magic values

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2013-08-19 13:32:18 -05:00
parent d9f3848e22
commit f9bec6eadd
108 changed files with 1194 additions and 11 deletions

View File

@@ -7,14 +7,25 @@ import org.bukkit.entity.EntityType;
* Represents a spawn egg that can be used to spawn mobs
*/
public class SpawnEgg extends MaterialData {
public SpawnEgg() {
super(Material.MONSTER_EGG);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public SpawnEgg(int type, byte data){
super(type, data);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public SpawnEgg(byte data) {
super(Material.MONSTER_EGG, data);
}