@@ -26,11 +26,21 @@ public class Mushroom extends MaterialData {
|
||||
Validate.isTrue(shroom == Material.HUGE_MUSHROOM_1 || shroom == Material.HUGE_MUSHROOM_2, "Not a mushroom!");
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public Mushroom(Material shroom, byte data) {
|
||||
super(shroom, data);
|
||||
Validate.isTrue(shroom == Material.HUGE_MUSHROOM_1 || shroom == Material.HUGE_MUSHROOM_2, "Not a mushroom!");
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public Mushroom(int type, byte data){
|
||||
super(type, data);
|
||||
Validate.isTrue(type == Material.HUGE_MUSHROOM_1.getId() || type == Material.HUGE_MUSHROOM_2.getId(), "Not a mushroom!");
|
||||
|
||||
Reference in New Issue
Block a user