aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/TrapDoorTile.h
diff options
context:
space:
mode:
authorvoid_17 <heroerror3@gmail.com>2026-03-02 17:37:16 +0700
committervoid_17 <heroerror3@gmail.com>2026-03-02 17:37:16 +0700
commit119bff351450ea16ffda550b6e0f67379b29f708 (patch)
treed9f28714afd516bc2450f33b0a77c5e05ff4de90 /Minecraft.World/TrapDoorTile.h
parent8a2a62ea1d47364f802cf9aae97668bc4a7007b5 (diff)
Revert "shared_ptr -> std::shared_ptr"
This reverts commit 7074f35e4ba831e358117842b99ee35b87f85ae5.
Diffstat (limited to 'Minecraft.World/TrapDoorTile.h')
-rw-r--r--Minecraft.World/TrapDoorTile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.World/TrapDoorTile.h b/Minecraft.World/TrapDoorTile.h
index 5f6a52e7..19cec150 100644
--- a/Minecraft.World/TrapDoorTile.h
+++ b/Minecraft.World/TrapDoorTile.h
@@ -43,7 +43,7 @@ public:
AABB *getAABB(Level *level, int x, int y, int z);
public:
- void updateShape(LevelSource *level, int x, int y, int z, int forceData = -1, std::shared_ptr<TileEntity> forceEntity = std::shared_ptr<TileEntity>()); // 4J added forceData, forceEntity param
+ void updateShape(LevelSource *level, int x, int y, int z, int forceData = -1, shared_ptr<TileEntity> forceEntity = shared_ptr<TileEntity>()); // 4J added forceData, forceEntity param
public:
void updateDefaultShape();
@@ -53,11 +53,11 @@ public:
void setShape(int data);
public:
- void attack(Level *level, int x, int y, int z, std::shared_ptr<Player> player);
+ void attack(Level *level, int x, int y, int z, shared_ptr<Player> player);
public:
virtual bool TestUse();
- bool use(Level *level, int x, int y, int z, std::shared_ptr<Player> player, int clickedFace, float clickX, float clickY, float clickZ, bool soundOnly = false); // 4J added soundOnly param
+ bool use(Level *level, int x, int y, int z, shared_ptr<Player> player, int clickedFace, float clickX, float clickY, float clickZ, bool soundOnly = false); // 4J added soundOnly param
public:
void setOpen(Level *level, int x, int y, int z, bool shouldOpen);