mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
Fix rebase
This commit is contained in:
parent
14879636f1
commit
f31639c45c
@ -2320,21 +2320,6 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
|
||||
return callItemUpdateStateEvent(true, hand);
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes the player digging a custom block, see {@link #resetTargetBlock()} to rewind.
|
||||
*
|
||||
* @param targetCustomBlock the custom block to dig
|
||||
* @param targetBlockPosition the custom block position
|
||||
* @param breakers the breakers of the block, can be null if {@code this} is the only breaker
|
||||
*/
|
||||
public void setTargetBlock(@NotNull CustomBlock targetCustomBlock, @NotNull BlockPosition targetBlockPosition,
|
||||
@Nullable Set<Player> breakers) {
|
||||
this.targetCustomBlock = targetCustomBlock;
|
||||
this.targetBlockPosition = targetBlockPosition;
|
||||
|
||||
refreshBreakDelay(breakers);
|
||||
}
|
||||
|
||||
/**
|
||||
* Refreshes the break delay for the next block break stage.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user