@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user