This commit is contained in:
GabsPuNs
2026-05-14 21:52:21 -04:00
parent 1b2f5c6fe8
commit f8a2d644f5
291 changed files with 7363 additions and 18368 deletions

View File

@@ -19,7 +19,7 @@ const wstring PistonBaseTile::INSIDE_TEX = L"piston_inner_top";
DWORD PistonBaseTile::tlsIdx = TlsAlloc();
// TU25 Note: IgnoreUpdate is removed. I need to find what they did.
// TU24 Note: IgnoreUpdate is removed. I need to find what they did.
// 4J - NOTE - this ignoreUpdate stuff has been removed from the java version, but I'm not currently sure how the java version does without it... there must be
// some other mechanism that we don't have that stops the event from one piston being processed, from causing neighbours to have extra events created for them.
@@ -298,6 +298,7 @@ bool PistonBaseTile::triggerEvent(Level *level, int x, int y, int z, int param1,
{
if (ppe->getFacing() == facing && ppe->isExtending())
{
// force the tile to air before pushing
ppe->finalTick();
block = ppe->getId();
blockData = ppe->getData();