Commits

md_5 authored f19b8557a36
Improve compatibility of new DamageSource API
No tags

src/main/java/org/bukkit/entity/Entity.java

Modified
388 388 * Sets the fall distance for this entity
389 389 *
390 390 * @param distance The new distance.
391 391 */
392 392 public void setFallDistance(float distance);
393 393
394 394 /**
395 395 * Record the last {@link EntityDamageEvent} inflicted on this entity
396 396 *
397 397 * @param event a {@link EntityDamageEvent}
398 + * @deprecated method is for internal use only
398 399 */
400 + @Deprecated(forRemoval = true)
399 401 public void setLastDamageCause(@Nullable EntityDamageEvent event);
400 402
401 403 /**
402 404 * Retrieve the last {@link EntityDamageEvent} inflicted on this entity.
403 405 * This event may have been cancelled.
404 406 *
405 407 * @return the last known {@link EntityDamageEvent} or null if hitherto
406 408 * unharmed
407 409 */
408 410 @Nullable

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut