Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 05:20:07 +01:00
Fixed hostile entities continuously targeting dead entities. Thanks Rigby!
Dieser Commit ist enthalten in:
Ursprung
b292a9dfbc
Commit
98f05f7756
@ -2088,7 +2088,7 @@ public class World implements IBlockAccess {
|
||||
for (int i = 0; i < this.players.size(); ++i) {
|
||||
EntityHuman entityhuman1 = (EntityHuman) this.players.get(i);
|
||||
// CraftBukkit start - fixed an NPE
|
||||
if (entityhuman1 == null) {
|
||||
if (entityhuman1 == null || entityhuman1.dead) {
|
||||
continue;
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren