mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-19 06:42:02 +01:00
Clarify Player#breakBlock only works for blocks in the same world
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7efb9ecbfb
commit
f798154234
@ -413,6 +413,8 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
|||||||
* <p>
|
* <p>
|
||||||
* Additionally, a {@link BlockDropItemEvent} is called for the items
|
* Additionally, a {@link BlockDropItemEvent} is called for the items
|
||||||
* dropped by this method (if successful).
|
* dropped by this method (if successful).
|
||||||
|
* <p>
|
||||||
|
* The block must be in the same world as the player.
|
||||||
*
|
*
|
||||||
* @param block the block to break
|
* @param block the block to break
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user