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

@@ -13,6 +13,11 @@ public class BlockPhysicsEvent extends BlockEvent implements Cancellable {
private final int changed;
private boolean cancel = false;
/**
*
* @deprecated Magic value
*/
@Deprecated
public BlockPhysicsEvent(final Block block, final int changed) {
super(block);
this.changed = changed;
@@ -22,7 +27,9 @@ public class BlockPhysicsEvent extends BlockEvent implements Cancellable {
* Gets the type of block that changed, causing this event
*
* @return Changed block's type id
* @deprecated Magic value
*/
@Deprecated
public int getChangedTypeId() {
return changed;
}