FIX: Steve skin hand, containers open in creative, crash when downfalls is nullptr, build on android (hope)

This commit is contained in:
2026-07-21 14:43:37 +02:00
parent d7a51b09f1
commit 9a743b9aea
11 changed files with 42 additions and 22 deletions

View File

@@ -554,9 +554,9 @@ void LocalPlayer::aiStep() {
//if (onGround && abilities.flying)
// abilities.flying = false;
yBobO = yBob;
xBobO = xBob;
xBob += (xRot - xBob) * 0.5;
yBobO = yBob;
xBobO = xBob;
xBob += (xRot - xBob) * 0.5;
yBob += (yRot - yBob) * 0.5;
if (interpolateOnly())
@@ -774,22 +774,19 @@ void LocalPlayer::startCrafting(int x, int y, int z, int tableSize) {
void LocalPlayer::startStonecutting(int x, int y, int z) {
#ifndef STANDALONE_SERVER
if (!minecraft->isCreativeMode())
minecraft->setScreen( new StonecutterScreen() );
minecraft->setScreen( new StonecutterScreen() );
#endif
}
void LocalPlayer::openFurnace( FurnaceTileEntity* e ) {
#ifndef STANDALONE_SERVER
if (!minecraft->isCreativeMode())
minecraft->setScreen( new FurnaceScreen(this, e) );
minecraft->setScreen( new FurnaceScreen(this, e) );
#endif
}
void LocalPlayer::openContainer( ChestTileEntity* container ) {
#ifndef STANDALONE_SERVER
if (!minecraft->isCreativeMode())
minecraft->setScreen( new ChestScreen(this, container) );
minecraft->setScreen( new ChestScreen(this, container) );
#endif
}