Skip to content

Commit

Permalink
Properly remove UnsafeValues#getDamageEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
lynxplay committed Dec 27, 2024
1 parent 5c7537c commit 33411ec
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -480,12 +480,6 @@ public PotionType.InternalPotionData getInternalPotionData(NamespacedKey namespa
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);
Expand Down

0 comments on commit 33411ec

Please sign in to comment.