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

@@ -35,7 +35,9 @@ public class EntityChangeBlockEvent extends EntityEvent implements Cancellable {
* @param block the block (before the change)
* @param to the future material being changed to
* @param data the future block data
* @deprecated Magic value
*/
@Deprecated
public EntityChangeBlockEvent(final Entity what, final Block block, final Material to, final byte data) {
super(what);
this.block = block;
@@ -74,7 +76,9 @@ public class EntityChangeBlockEvent extends EntityEvent implements Cancellable {
* Gets the data for the block that would be changed into
*
* @return the data for the block that would be changed into
* @deprecated Magic value
*/
@Deprecated
public byte getData() {
return data;
}