Commit 7347bfef7b1fcdde0ff6b00c34cac467fa51115d
1 parent
c7caff6a
Pass key to container when fetching mod descriptions
Showing
1 changed file
with
9 additions
and
0 deletions
src/main/java/com/mumfrey/liteloader/core/Mod.java
| ... | ... | @@ -127,6 +127,15 @@ class Mod extends ModInfo<LoadableMod<?>> |
| 127 | 127 | return this.name; |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | + /** | |
| 131 | + * Get the mod description | |
| 132 | + */ | |
| 133 | + @Override | |
| 134 | + public String getDescription() | |
| 135 | + { | |
| 136 | + return this.container.getDescription(this.key); | |
| 137 | + } | |
| 138 | + | |
| 130 | 139 | /* (non-Javadoc) |
| 131 | 140 | * @see com.mumfrey.liteloader.core.ModInfo#getVersion() |
| 132 | 141 | */ | ... | ... |