Deprecates BlockUtils#updateAdjacentComparators(Location)

This commit is contained in:
Christian Koop 2023-05-06 21:32:59 +02:00
parent 50d5784da8
commit 5e093558a4
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
1 changed files with 4 additions and 0 deletions

View File

@ -337,7 +337,11 @@ public class BlockUtils {
* Manually trigger the updateAdjacentComparators method for containers
*
* @param loc The Location of the container
*
* @deprecated Use {@link com.songoda.core.nms.world.WorldCore#updateAdjacentComparators(Block)}
* via {@link com.songoda.core.nms.Nms#getImplementations()} instead.
*/
@Deprecated
public static void updateAdjacentComparators(Location loc) {
if (loc == null || loc.getWorld() == null) {
return;