mirror of
https://github.com/PaperMC/Paper.git
synced 2025-04-01 12:11:45 +02:00
forgot to initialize cancel
By: durron597 <martin.jared@gmail.com>
This commit is contained in:
parent
f95c139dd6
commit
83dea7c90f
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) {
|
||||
super(type, interactedBlock);
|
||||
theEntity = who;
|
||||
cancel = false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue