mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Fix build
This commit is contained in:
parent
1915722d02
commit
e76d7486b3
@ -29,7 +29,7 @@ public class DamageType implements TagHandler, DataContainer {
|
||||
public static final DamageType ON_FIRE = new DamageType("attack.onFire") {
|
||||
@Override
|
||||
protected SoundEvent getPlayerSound(@NotNull Player player) {
|
||||
return SoundEvent.PLAYER_HURT_ON_FIRE;
|
||||
return SoundEvent.ENTITY_PLAYER_HURT_ON_FIRE;
|
||||
}
|
||||
};
|
||||
private final String identifier;
|
||||
@ -148,11 +148,11 @@ public class DamageType implements TagHandler, DataContainer {
|
||||
}
|
||||
|
||||
protected SoundEvent getGenericSound(@NotNull LivingEntity entity) {
|
||||
return SoundEvent.GENERIC_HURT;
|
||||
return SoundEvent.ENTITY_GENERIC_HURT;
|
||||
}
|
||||
|
||||
protected SoundEvent getPlayerSound(@NotNull Player player) {
|
||||
return SoundEvent.PLAYER_HURT;
|
||||
return SoundEvent.ENTITY_PLAYER_HURT;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user