mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
forgot to initialize cancel
This commit is contained in:
parent
5a1310148e
commit
a83e58e462
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ public class BlockInteractEvent extends BlockEvent implements Cancellable {
|
||||||
public BlockInteractEvent(Type type, Block interactedBlock, LivingEntity who) {
|
public BlockInteractEvent(Type type, Block interactedBlock, LivingEntity who) {
|
||||||
super(type, interactedBlock);
|
super(type, interactedBlock);
|
||||||
theEntity = who;
|
theEntity = who;
|
||||||
|
cancel = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue