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

@@ -8,6 +8,11 @@ public class Diode extends MaterialData implements Directional {
super(Material.DIODE_BLOCK_ON);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public Diode(int type) {
super(type);
}
@@ -16,10 +21,20 @@ public class Diode extends MaterialData implements Directional {
super(type);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public Diode(int type, byte data) {
super(type, data);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public Diode(Material type, byte data) {
super(type, data);
}