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. *