fix(TU31): pistons not updating when they should (#113)
* Fixed pistons not updating when they should
I removed the code that 4J added to make pistons ignore updates because it seems they removed it in later versions for parity with java edition! This allows for 0 tick piston interactions amount other things.
* Update PistonBaseTile.h
I forgot to update the header 🥹
This commit is contained in:
@@ -27,8 +27,7 @@ private:
|
||||
|
||||
static DWORD tlsIdx;
|
||||
// 4J - was just a static but implemented with TLS for our version
|
||||
static bool ignoreUpdate();
|
||||
static void ignoreUpdate(bool set);
|
||||
//code removed so the above comment no longer applies
|
||||
|
||||
public:
|
||||
PistonBaseTile(int id, bool isSticky);
|
||||
@@ -68,4 +67,4 @@ private:
|
||||
static void stopSharingIfServer(Level *level, int x, int y, int z); // 4J added
|
||||
|
||||
bool createPush(Level *level, int sx, int sy, int sz, int facing);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user