mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Fix incorrect new blockstate in EntityBreakDoorEvent
This commit is contained in:
parent
5e800d8dd4
commit
7fae67e6b3
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* Cancelling the event will cause the event to be delayed
|
* Cancelling the event will cause the event to be delayed
|
||||||
*/
|
*/
|
||||||
public class EntityBreakDoorEvent extends EntityChangeBlockEvent {
|
public class EntityBreakDoorEvent extends EntityChangeBlockEvent {
|
||||||
public EntityBreakDoorEvent(@NotNull final LivingEntity entity, @NotNull final Block targetBlock) {
|
public EntityBreakDoorEvent(@NotNull final LivingEntity entity, @NotNull final Block targetBlock, @NotNull final org.bukkit.block.data.BlockData to) { // Paper
|
||||||
super(entity, targetBlock, Material.AIR.createBlockData());
|
super(entity, targetBlock, to); // Paper
|
||||||
}
|
}
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|
Loading…
Reference in a new issue