mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 19:59:56 +00:00
PRE: Hoverable Button
This commit is contained in:
1 parent
702785476e
commit
0def6eafb7
2 files changed
+119
No files matched your search
@@ -253,6 +253,10 @@ public abstract class GuiNPCInterface extends GuiScreen
|
||||
if(scroll.hoverableText){
|
||||
scroll.drawHover(i, j, f, hasSubGui()?0:this.mouseWheel);
|
||||
}
|
||||
for(GuiNpcButton button : buttons.values())
|
||||
if(!button.hoverableText.isEmpty()){
|
||||
button.drawHover(i, j, hasSubGui());
|
||||
}
|
||||
if(subgui != null)
|
||||
subgui.drawScreen(i,j,f);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user