aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/PrimedTnt.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/PrimedTnt.h')
-rw-r--r--Minecraft.World/PrimedTnt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Minecraft.World/PrimedTnt.h b/Minecraft.World/PrimedTnt.h
index 8f1b11dd..0b65a5ca 100644
--- a/Minecraft.World/PrimedTnt.h
+++ b/Minecraft.World/PrimedTnt.h
@@ -11,11 +11,12 @@ public:
static const int serialVersionUID = 0;
int life;
+ weak_ptr<LivingEntity> owner;
void _init();
PrimedTnt(Level *level);
- PrimedTnt(Level *level, double x, double y, double z);
+ PrimedTnt(Level *level, double x, double y, double z, shared_ptr<LivingEntity> owner);
protected:
virtual void defineSynchedData();
@@ -34,4 +35,5 @@ protected:
public:
virtual float getShadowHeightOffs();
+ virtual shared_ptr<LivingEntity> getOwner();
};