diff options
| author | Ayush Thoren <ayushthoren@gmail.com> | 2026-03-13 04:16:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-13 11:16:05 +0000 |
| commit | d131a551bff13b76d98dc708756daa1fd975e7ca (patch) | |
| tree | 536443a04a20bf261d798f67fde43e398eba9482 /Minecraft.World/LevelChunk.h | |
| parent | ad74d443001ff17c5ab10e4438952e2805e05f38 (diff) | |
Fix mounted minecarts not persisting across world reloads (#979)
* Fix mounted minecarts not persisting across world reloads
Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
* Apply patch
---------
Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
Diffstat (limited to 'Minecraft.World/LevelChunk.h')
| -rw-r--r-- | Minecraft.World/LevelChunk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Minecraft.World/LevelChunk.h b/Minecraft.World/LevelChunk.h index fdb2ba6c..bd2b3b91 100644 --- a/Minecraft.World/LevelChunk.h +++ b/Minecraft.World/LevelChunk.h @@ -192,6 +192,7 @@ public: virtual void setBrightness(LightLayer::variety layer, int x, int y, int z, int brightness); virtual int getRawBrightness(int x, int y, int z, int skyDampen); virtual void addEntity(shared_ptr<Entity> e); + virtual void addRidingEntities(shared_ptr<Entity> rider, CompoundTag *riderTag); virtual void removeEntity(shared_ptr<Entity> e); virtual void removeEntity(shared_ptr<Entity> e, int yc); virtual bool isSkyLit(int x, int y, int z); |
