Skip to content

Commit

Permalink
* I think this was causing all the weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
iProgramMC committed Apr 7, 2024
1 parent ee4318c commit 9da3cb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/world/tile/RedStoneTorchTile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ void RedStoneTorchTile::tick(Level* level, int x, int y, int z, Random* random)
}
}

int RedStoneTorchTile::getSignal(LevelSource* level, int x, int y, int z, int dir)
int RedStoneTorchTile::getDirectSignal(LevelSource* level, int x, int y, int z, int dir)
{
if (dir == DIR_YNEG)
return getDirectSignal(level, x, y, z, dir);
return getSignal(level, x, y, z, dir);

return 0;
}

int RedStoneTorchTile::getDirectSignal(LevelSource* level, int x, int y, int z, int dir)
int RedStoneTorchTile::getSignal(LevelSource* level, int x, int y, int z, int dir)
{
if (!isActive()) return 0;
int data = level->getData(x, y, z);
Expand Down

0 comments on commit 9da3cb4

Please sign in to comment.