mirror of
https://github.com/GTNewHorizons/BetterP2P.git
synced 2026-11-27 23:32:58 +00:00
Make the refresh icon look a little less like MSPaint
Also minor change to tooltip when changing types.
This commit is contained in:
1 parent
55e77d9929
commit
563d28a256
2 files changed
+3
-2
No files matched your search
@@ -246,10 +246,11 @@ class GuiAdvancedMemoryCard(msg: S2CListP2P) : GuiScreen(), TextureBound {
|
||||
|
||||
private fun commitType() {
|
||||
if (type == null) {
|
||||
(hoverText as MutableList)[0] = I18n.format("gui.advanced_memory_card.types.any")
|
||||
(hoverText as MutableList)[0] = I18n.format("gui.advanced_memory_card.types.filtered",
|
||||
I18n.format("gui.advanced_memory_card.types.any"))
|
||||
} else {
|
||||
(hoverText as MutableList)[0] =
|
||||
I18n.format("gui.advanced_memory_card.types.filtered", "§a" + type!!.stack.displayName)
|
||||
I18n.format("gui.advanced_memory_card.types.filtered", "§a" + type!!.stack.displayName)
|
||||
}
|
||||
ModNetwork.channel.sendToServer(C2SRefreshP2PList(type?.index ?: TUNNEL_ANY))
|
||||
super.func_146113_a(mc.soundHandler)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.7 KiB |
Reference in new issue
Block a user