mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Remove deploying for now; fix LecternHasBookMap offset issue
This commit is contained in:
parent
02ac69591f
commit
9136e4b591
2 changed files with 3 additions and 3 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -20,7 +20,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage ('Deploy') {
|
/*stage ('Deploy') {
|
||||||
when {
|
when {
|
||||||
branch "master"
|
branch "master"
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ pipeline {
|
||||||
serverId: "opencollab-artifactory"
|
serverId: "opencollab-artifactory"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
|
|
|
@ -45,7 +45,7 @@ public class LecternHasBookMap extends FixedInt2BooleanMap {
|
||||||
WorldManager worldManager = session.getConnector().getWorldManager();
|
WorldManager worldManager = session.getConnector().getWorldManager();
|
||||||
|
|
||||||
int offset = blockState - this.start;
|
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
|
// Block state is out of bounds of this map - lectern has been destroyed, if it existed
|
||||||
if (!worldManager.shouldExpectLecternHandled()) {
|
if (!worldManager.shouldExpectLecternHandled()) {
|
||||||
session.getLecternCache().remove(position);
|
session.getLecternCache().remove(position);
|
||||||
|
|
Loading…
Reference in a new issue