mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
forgot to initialize cancel
By: durron597 <martin.jared@gmail.com>
This commit is contained in:
parent
f95c139dd6
commit
83dea7c90f
@ -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…
Reference in New Issue
Block a user