geforkt von Mirrors/Paper
SPIGOT-4673: EntitySpawnEvent should not be called for players
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
23997eddd5
Commit
10b207e39b
@ -388,7 +388,7 @@ public class CraftEventFactory {
|
||||
event = CraftEventFactory.callProjectileLaunchEvent(entity);
|
||||
} else if (entity.getBukkitEntity() instanceof org.bukkit.entity.Vehicle){
|
||||
event = CraftEventFactory.callVehicleCreateEvent(entity);
|
||||
} else {
|
||||
} else if (!(entity instanceof EntityPlayer)) {
|
||||
event = CraftEventFactory.callEntitySpawnEvent(entity);
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren