Commit 7347bfef7b1fcdde0ff6b00c34cac467fa51115d

Authored by Mumfrey
1 parent c7caff6a

Pass key to container when fetching mod descriptions

src/main/java/com/mumfrey/liteloader/core/Mod.java
@@ -127,6 +127,15 @@ class Mod extends ModInfo<LoadableMod<?>> @@ -127,6 +127,15 @@ class Mod extends ModInfo<LoadableMod<?>>
127 return this.name; 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 /* (non-Javadoc) 139 /* (non-Javadoc)
131 * @see com.mumfrey.liteloader.core.ModInfo#getVersion() 140 * @see com.mumfrey.liteloader.core.ModInfo#getVersion()
132 */ 141 */