Clarify Player#breakBlock only works for blocks in the same world

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2021-06-13 08:28:21 +10:00
parent 7efb9ecbfb
commit f798154234

View File

@ -413,6 +413,8 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
* <p>
* Additionally, a {@link BlockDropItemEvent} is called for the items
* dropped by this method (if successful).
* <p>
* The block must be in the same world as the player.
*
* @param block the block to break
*