服务端禁用击杀提示时不再发送击杀音效

This commit is contained in:
Light_Quanta 2025-07-13 00:20:12 +08:00
parent d9ed8195b1
commit aa0e839c7c
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959

View file

@ -266,6 +266,8 @@ public class LivingEventHandler {
}
private static void killIndication(LivingDeathEvent event) {
if (!MiscConfig.SEND_KILL_FEEDBACK.get()) return;
DamageSource source = event.getSource();
var sourceEntity = source.getEntity();