Changed Javadoc for Upgrade tooltip group

This commit is contained in:
Sebastian Hartte
2020-07-07 20:42:17 +02:00
parent 815094e5bf
commit 30cc8c8abc
+3 -2
View File
@@ -77,8 +77,8 @@ public enum Upgrades {
* @param item machine in which this upgrade can be installed
* @param maxSupported amount how many upgrades can be installed
* @param tooltipGroup If more than one item of the same group are supported,
* the tooltip will show this group name instead. If the
* items have different maxSupported values, the highest
* the tooltip will show this translation key instead. If
* the items have different maxSupported values, the highest
* will be shown.
*/
public void registerItem(final IItemProvider item, final int maxSupported, @Nullable String tooltipGroup) {
@@ -137,6 +137,7 @@ public enum Upgrades {
private final Item item;
private final Block block;
private final int maxCount;
// Translation key of the tooltip group
@Nullable
private final String tooltipGroup;