3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-07-10 23:38:06 +02:00

Remove deploying for now; fix LecternHasBookMap offset issue

Dieser Commit ist enthalten in:
Camotoy 2021-09-10 14:53:02 -04:00
Ursprung 02ac69591f
Commit 9136e4b591
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

4
Jenkinsfile vendored
Datei anzeigen

@ -20,7 +20,7 @@ pipeline {
}
}
stage ('Deploy') {
/*stage ('Deploy') {
when {
branch "master"
}
@ -48,7 +48,7 @@ pipeline {
serverId: "opencollab-artifactory"
)
}
}
}*/
}
post {

Datei anzeigen

@ -45,7 +45,7 @@ public class LecternHasBookMap extends FixedInt2BooleanMap {
WorldManager worldManager = session.getConnector().getWorldManager();
int offset = blockState - this.start;
if (offset < 0 || offset > this.value.length) {
if (offset < 0 || offset >= this.value.length) {
// Block state is out of bounds of this map - lectern has been destroyed, if it existed
if (!worldManager.shouldExpectLecternHandled()) {
session.getLecternCache().remove(position);