Skip to content

Commit 4376b18

Browse files
committed
uuh some stuff (tiny)
1 parent a216f62 commit 4376b18

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/java/dev/dfonline/codeclient/dev/DevInventory/DevInventoryScreen.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,13 @@ public void render(MatrixStack matrices, int mouseX, int mouseY, float delta) {
253253
RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F);
254254
this.drawMouseoverTooltip(matrices, mouseX, mouseY);
255255
}
256-
256+
public boolean charTyped(char chr, int modifiers) {
257+
if(this.searchBox.charTyped(chr, modifiers)) {
258+
populate();
259+
return true;
260+
}
261+
return false;
262+
}
257263
protected void drawBackground(MatrixStack matrices, float delta, int mouseX, int mouseY) {
258264
RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F);
259265
DevInventoryGroup itemGroup = DevInventoryGroup.GROUPS[selectedTab];

0 commit comments

Comments
 (0)