Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
All notable changes to this project will be documented in this file.

## Unreleased
- /

- added custom icon for Wireless Terminal integration ([#72](https://github.com/AlmostReliable/merequester/pull/72))

## [1.5.0] - 2026-09-01

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ private WirelessTerminalCompat() {}
@SuppressWarnings("StaticVariableUsedBeforeInitialization")
private static final class Guard {

private static final Icon.Texture ICON_TEXTURE = new Icon.Texture(Utils.getRL("textures/wtlib/icon.png"), 16, 16);
private static final Icon ICON = new Icon(0, 0, 16, 16, ICON_TEXTURE);

@Nullable
private static ReqWirelessTerminalItem WIRELESS_REQUESTER_TERMINAL;

Expand All @@ -89,7 +92,7 @@ private static void registerWirelessTerminal(Registry<Item> registry) {
ReqWirelessTerminalMenuHost::new,
ReqWirelessTerminalMenu.TYPE,
terminalItem,
Icon.PATTERN_ACCESS // TODO: replace this with a custom icon
ICON
)
.addTerminal());

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading