mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-26 01:32:02 -07:00
Fix upstream nullability on entity equipment getters (#6519)
This commit is contained in:
@@ -241,19 +241,17 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
@@ -0,0 +0,0 @@ import org.jetbrains.annotations.Nullable;
|
||||
*/
|
||||
public interface Mob extends LivingEntity, Lootable {
|
||||
|
||||
+ // Paper start
|
||||
@@ -0,0 +0,0 @@ public interface Mob extends LivingEntity, Lootable {
|
||||
// Paper start
|
||||
@Override
|
||||
org.bukkit.inventory.@org.jetbrains.annotations.NotNull EntityEquipment getEquipment();
|
||||
+
|
||||
+ /**
|
||||
+ * Enables access to control the pathing of an Entity
|
||||
+ * @return Pathfinding Manager for this entity
|
||||
+ */
|
||||
+ @NotNull
|
||||
+ com.destroystokyo.paper.entity.Pathfinder getPathfinder();
|
||||
+ // Paper end
|
||||
+
|
||||
// Paper end
|
||||
/**
|
||||
* Instructs this Mob to set the specified LivingEntity as its target.
|
||||
* <p>
|
||||
|
Reference in New Issue
Block a user