Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
SPIGOT-5951: Projectile#getShooter() returns null
Dieser Commit ist enthalten in:
Ursprung
0fa2eecffb
Commit
7a9e4f7aeb
@ -15,7 +15,7 @@
|
||||
this.shooter = entity.getUniqueID();
|
||||
this.c = entity.getId();
|
||||
}
|
||||
+ this.projectileSource = (entity instanceof ProjectileSource) ? (ProjectileSource) entity.getBukkitEntity() : null; // CraftBukkit
|
||||
+ this.projectileSource = (entity != null && entity.getBukkitEntity() instanceof ProjectileSource) ? (ProjectileSource) entity.getBukkitEntity() : null; // CraftBukkit
|
||||
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren