[PORT] Port for 25w15a.... Seriously mojang, JUST STOP....
This commit is contained in:
@@ -179,7 +179,7 @@ public class CraterConfigScreen extends Screen {
|
||||
|
||||
@Override
|
||||
public void render(@NotNull GuiGraphics matrices, int mouseX, int mouseY, float delta) {
|
||||
overlayBackground(matrices.pose(), TOP, height - BOTTOM, 32);
|
||||
/*overlayBackground(matrices.pose(), TOP, height - BOTTOM, 32);
|
||||
renderScrollBar();
|
||||
|
||||
matrices.pose().pushPose();
|
||||
@@ -198,7 +198,7 @@ public class CraterConfigScreen extends Screen {
|
||||
option.render(minecraft, font, 40, y, width - 80, height1, matrices, mouseX, mouseY, delta);
|
||||
renderConfigTooltip(matrices, font, mouseX, mouseY, 40, y, font.width(option.text), height1, option.text.getString(), option.getLangKeys().toArray(new String[0]));
|
||||
y += height1;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
private void renderScrollBar() {
|
||||
|
@@ -55,7 +55,7 @@ public class BridgedMinecraft {
|
||||
}
|
||||
|
||||
public String getGameVersion() {
|
||||
return SharedConstants.getCurrentVersion().getName();
|
||||
return SharedConstants.getCurrentVersion().name();
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
|
@@ -38,7 +38,7 @@ public class BridgedMinecraftServer {
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return SharedConstants.getCurrentVersion().getName();
|
||||
return SharedConstants.getCurrentVersion().name();
|
||||
}
|
||||
|
||||
public boolean usesAuthentication() {
|
||||
|
@@ -25,7 +25,7 @@ public class ChatUtils {
|
||||
|
||||
@Getter
|
||||
private static final GsonComponentSerializer adventureSerializer = GsonComponentSerializer.builder().options(
|
||||
JSONOptions.byDataVersion().at(SharedConstants.getCurrentVersion().getDataVersion().getVersion())
|
||||
JSONOptions.byDataVersion().at(SharedConstants.getCurrentVersion().dataVersion().version())
|
||||
).build();
|
||||
|
||||
private static final MiniMessage miniMessage = MiniMessage.miniMessage();
|
||||
|
Reference in New Issue
Block a user