forgot to initialize cancel
This commit is contained in:
parent
5a1310148e
commit
a83e58e462
@ -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…
x
Reference in New Issue
Block a user