Start Hello process when player joins (not on enter)

This commit is contained in:
Frank Bauer 2021-08-08 17:24:29 +02:00
parent 990b024fdb
commit 819514a699
3 changed files with 19 additions and 10 deletions

View file

@ -26,7 +26,8 @@ public abstract class GridScreen extends Screen {
protected abstract void initLayout();
public void render(PoseStack poseStack, int i, int j, float f) {
this.renderBackground(poseStack);
//this.renderBackground(poseStack);
this.renderDirtBackground(i);
drawCenteredString(poseStack, this.font, this.title, grid.width / 2, grid.getTopStart(), 16777215);
if (grid!=null) grid.render(poseStack);
super.render(poseStack, i, j, f);