mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Update CraftBukkit to Minecraft 1.4.4.
This commit is contained in:
@@ -79,4 +79,14 @@ public abstract class Enchantment {
|
||||
this.name = s;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String a() {
|
||||
return "enchantment." + this.name;
|
||||
}
|
||||
|
||||
public String c(int i) {
|
||||
String s = LocaleI18n.get(this.a());
|
||||
|
||||
return s + " " + LocaleI18n.get("enchantment.level." + i);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user