服务端禁用击杀提示时不再发送击杀音效
This commit is contained in:
parent
d9ed8195b1
commit
aa0e839c7c
1 changed files with 2 additions and 0 deletions
|
@ -266,6 +266,8 @@ public class LivingEventHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void killIndication(LivingDeathEvent event) {
|
private static void killIndication(LivingDeathEvent event) {
|
||||||
|
if (!MiscConfig.SEND_KILL_FEEDBACK.get()) return;
|
||||||
|
|
||||||
DamageSource source = event.getSource();
|
DamageSource source = event.getSource();
|
||||||
|
|
||||||
var sourceEntity = source.getEntity();
|
var sourceEntity = source.getEntity();
|
||||||
|
|
Loading…
Add table
Reference in a new issue