mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-27 05:04:37 +00:00
TU24
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user