Deprecate magic values

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

No files matched your search

@@ -11,6 +11,11 @@ public class Ladder extends SimpleAttachableMaterialData {
super(Material.LADDER);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public Ladder(final int type) {
super(type);
}
@@ -19,10 +24,20 @@ public class Ladder extends SimpleAttachableMaterialData {
super(type);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public Ladder(final int type, final byte data) {
super(type, data);
}
/**
*
* @deprecated Magic value
*/
@Deprecated
public Ladder(final Material type, final byte data) {
super(type, data);
}