fix noSuchMethod crash with latest ae2

This commit is contained in:
GlodBlock committed 2022-05-29 16:45:50 +08:00
1 parent b9b399c9a3
commit 649c8b3daf
2 files changed
+5 -6

No files matched your search

@@ -73,11 +73,10 @@ class GuiAdvancedMemoryCard(msg: S2CListP2P) : GuiScreen(), TextureBound {
super.initGui()
checkInfo()
scrollBar = WidgetScrollBar()
searchBar = MEGuiTextField(fontRendererObj, guiLeft + 148, guiTop + 3, 65, 10)
searchBar.maxStringLength = 25
searchBar.setTextColor(0xFFFFFF)
searchBar.visible = true
searchBar.enableBackgroundDrawing = false
searchBar = MEGuiTextField(65, 10)
searchBar.setMaxStringLength(25)
searchBar.x = guiLeft + 148
searchBar.y = guiTop + 5
scrollBar.displayX = guiLeft + 218
scrollBar.displayY = guiTop + 19
scrollBar.height = 114