Properly remove UnsafeValues#getDamageEffect

This commit is contained in:
Bjarne Koll 2024-12-28 00:21:27 +01:00
parent 5c7537cb5c
commit 33411ec0a1
No known key found for this signature in database
GPG key ID: 9576DAF3FDDB088F

View file

@ -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);