eagler fix + ai work

This commit is contained in:
sky 2024-09-26 07:00:39 -04:00
parent 7ff85e16ba
commit a1b20a46e2
2 changed files with 12 additions and 9 deletions

View File

@ -612,14 +612,17 @@ div.played-game img {
position: absolute;
left: 2%;
}
chat {
#chat {
width: 90%;
background-color: var(--uibg);
display: flex;
height: 85vh;
}
#messages {
align-items: end;
flex-direction: column-reverse;
flex-direction: column;
overflow: scroll;
height: 90%;
display: flex;
}
message {
width: calc(100% - 20px);
@ -634,15 +637,12 @@ message.user {
message.bot {
justify-self: right;
}
input.chatbox {
#chatbox {
width: calc(100% - 20px);
}
.messagebox {
width: 100%;
}
.sendmsg {
position: absolute;
padding: calc(3vw - 20px);
height: 10%;
}
@keyframes toastFade {
0% {

View File

@ -12,6 +12,7 @@
<meta property="og:description" content="Play minecraft 1.8 in your browser" />
<meta property="og:image" content="favicon.png" />
<link type="image/png" rel="shortcut icon" href="favicon.png" />
<script src="/js/all.min.js"></script>
<script type="text/javascript" src="classes.js"></script>
<script type="text/javascript">
"use strict";
@ -30,7 +31,9 @@
localesURI: "lang/",
worldsDB: "worlds",
servers: [
/* example: { addr: "ws://localhost:8081/", name: "Local test server" } */
{ addr: (location.protocol.includes("s") ? "wss": "ws") + "://" + location.host + "/mc", name: "§b§lEthereal",hideAddress:true},
{ addr: "wss://ethereal.mov", name: "§b§lEthereal§r§8§o (backup)",hideAddress:true}
],
relays: [
{ addr: "wss://relay.deev.is/", comment: "lax1dude relay #1", primary: relayId == 0 },