Updated to 1.16.2-rc2
This commit is contained in:
@@ -156,7 +156,7 @@ public class MEMonitorableScreen<T extends MEMonitorableContainer> extends AEBas
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
getClient().keyboard.enableRepeatEvents(true);
|
||||
getClient().keyboard.setRepeatEvents(true);
|
||||
|
||||
this.maxRows = this.getMaxRows();
|
||||
TerminalStyle terminalStyle = AEConfig.instance().getTerminalStyle();
|
||||
@@ -285,8 +285,8 @@ public class MEMonitorableScreen<T extends MEMonitorableContainer> extends AEBas
|
||||
|
||||
@Override
|
||||
public void drawFG(MatrixStack matrices, final int offsetX, final int offsetY, final int mouseX, final int mouseY) {
|
||||
this.textRenderer.method_30883(matrices, this.getGuiDisplayName(this.myName.text()), 8, 6, 4210752);
|
||||
this.textRenderer.method_30883(matrices, GuiText.inventory.text(), 8, this.backgroundHeight - 96 + 3, 4210752);
|
||||
this.textRenderer.draw(matrices, this.getGuiDisplayName(this.myName.text()), 8, 6, 4210752);
|
||||
this.textRenderer.draw(matrices, GuiText.inventory.text(), 8, this.backgroundHeight - 96 + 3, 4210752);
|
||||
|
||||
this.currentMouseX = mouseX;
|
||||
this.currentMouseY = mouseY;
|
||||
@@ -313,7 +313,7 @@ public class MEMonitorableScreen<T extends MEMonitorableContainer> extends AEBas
|
||||
@Override
|
||||
public void removed() {
|
||||
super.removed();
|
||||
getClient().keyboard.enableRepeatEvents(false);
|
||||
getClient().keyboard.setRepeatEvents(false);
|
||||
memoryText = this.searchField.getText();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user