mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
Added missing 'implements Cancellable' to several classes.
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
@@ -2,13 +2,12 @@ package org.bukkit.event.block;
|
|||||||
|
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
import org.bukkit.event.Cancellable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Thrown when a block physics check is called
|
* Thrown when a block physics check is called
|
||||||
*
|
|
||||||
* @author Dinnerbone
|
|
||||||
*/
|
*/
|
||||||
public class BlockPhysicsEvent extends BlockEvent {
|
public class BlockPhysicsEvent extends BlockEvent implements Cancellable {
|
||||||
private final int changed;
|
private final int changed;
|
||||||
private boolean cancel = false;
|
private boolean cancel = false;
|
||||||
|
|
||||||
|
@@ -4,9 +4,10 @@ import org.bukkit.Material;
|
|||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.block.BlockFace;
|
import org.bukkit.block.BlockFace;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
import org.bukkit.event.Cancellable;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
public class PlayerBucketFillEvent extends PlayerEvent {
|
public class PlayerBucketFillEvent extends PlayerEvent implements Cancellable {
|
||||||
ItemStack itemStack;
|
ItemStack itemStack;
|
||||||
boolean cancelled = false;
|
boolean cancelled = false;
|
||||||
Block blockClicked;
|
Block blockClicked;
|
||||||
|
Reference in New Issue
Block a user