mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 23:46:57 +01:00
Properly remove UnsafeValues#getDamageEffect
This commit is contained in:
parent
5c7537cb5c
commit
33411ec0a1
1 changed files with 0 additions and 6 deletions
|
@ -480,12 +480,6 @@ public final class CraftMagicNumbers implements UnsafeValues {
|
|||
return new CraftPotionType(namespacedKey, potionRegistry);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DamageEffect getDamageEffect(String key) {
|
||||
Preconditions.checkArgument(key != null, "key cannot be null");
|
||||
return CraftDamageEffect.getById(key);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DamageSource.Builder createDamageSourceBuilder(DamageType damageType) {
|
||||
return new CraftDamageSourceBuilder(damageType);
|
||||
|
|
Loading…
Reference in a new issue