Deprecate magic values

This commit is contained in:
Wesley Wolfe
2013-08-19 13:32:18 -05:00
parent 52215c6171
commit 1f83111208
108 changed files with 1194 additions and 11 deletions

View File

@@ -22,6 +22,11 @@ public class Pumpkin extends MaterialData implements Directional {
setFacingDirection(direction);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public Pumpkin(final int type) {
super(type);
}
@@ -30,10 +35,20 @@ public class Pumpkin extends MaterialData implements Directional {
super(type);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public Pumpkin(final int type, final byte data) {
super(type, data);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public Pumpkin(final Material type, final byte data) {
super(type, data);
}