geforkt von Mirrors/Paper
Fix incorrect new blockstate in EntityBreakDoorEvent
Dieser Commit ist enthalten in:
Ursprung
5e800d8dd4
Commit
7fae67e6b3
@ -12,8 +12,8 @@ import org.jetbrains.annotations.NotNull;
|
||||
* Cancelling the event will cause the event to be delayed
|
||||
*/
|
||||
public class EntityBreakDoorEvent extends EntityChangeBlockEvent {
|
||||
public EntityBreakDoorEvent(@NotNull final LivingEntity entity, @NotNull final Block targetBlock) {
|
||||
super(entity, targetBlock, Material.AIR.createBlockData());
|
||||
public EntityBreakDoorEvent(@NotNull final LivingEntity entity, @NotNull final Block targetBlock, @NotNull final org.bukkit.block.data.BlockData to) { // Paper
|
||||
super(entity, targetBlock, to); // Paper
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren