Skip to content

Commit 093d2a4

Browse files
committed
Actually write the comment I said I would
... And oops, those fields were private when they should've been public. Signed-off-by: roadhog360 <[email protected]>
1 parent 90816d6 commit 093d2a4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/main/java/roadhog360/hogutils/api/event/OreDictionaryToHogTagsEvent.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77

88
import java.util.List;
99

10-
/// Fired when the game is registering OreDictionary values, so other mods can detect what HogUtils has tagged an item with.
11-
/// If there's a custom OreDictionary tag you have a modern tag equivalent for you can hook into this event.
10+
/// Fired when HogUtils automatically applies HogTags to an item when it is registered through OreDictionary.
11+
/// The list is what HogTags will be added. It is immutable.
1212
/// This event is {@link Cancelable}.
1313
@Cancelable
1414
public class OreDictionaryToHogTagsEvent extends Event {
15-
private final String oreDictTag;
16-
private final ItemStack stack;
17-
public final List<String> convertedTagsList;
15+
public final String oreDictTag;
16+
public final ItemStack stack;
17+
public final List<String> autoHogTags;
1818

1919
public OreDictionaryToHogTagsEvent(String oreDictTag, ItemStack stack, List<String> autoHogTags) {
2020
this.oreDictTag = oreDictTag;
2121
this.stack = stack;
22-
this.convertedTagsList = ImmutableList.copyOf(autoHogTags);
22+
this.autoHogTags = ImmutableList.copyOf(autoHogTags);
2323
}
2424
}

0 commit comments

Comments
 (0)