From f31639c45c2b31f3ebba7f6d9f0204870242f5ac Mon Sep 17 00:00:00 2001 From: TheMode Date: Thu, 10 Jun 2021 16:12:42 +0200 Subject: [PATCH] Fix rebase --- .../java/net/minestom/server/entity/Player.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/main/java/net/minestom/server/entity/Player.java b/src/main/java/net/minestom/server/entity/Player.java index 021e231e3..0df9a98b7 100644 --- a/src/main/java/net/minestom/server/entity/Player.java +++ b/src/main/java/net/minestom/server/entity/Player.java @@ -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 breakers) { - this.targetCustomBlock = targetCustomBlock; - this.targetBlockPosition = targetBlockPosition; - - refreshBreakDelay(breakers); - } - /** * Refreshes the break delay for the next block break stage. *