Removed unused code
This commit is contained in:
parent
fca5a01145
commit
114b14faad
@ -55,7 +55,6 @@ void cItemFrame::KilledBy(TakeDamageInfo & a_TDI)
|
||||
{
|
||||
if (m_Item.IsEmpty())
|
||||
{
|
||||
SetHealth(0);
|
||||
super::KilledBy(a_TDI);
|
||||
Destroy();
|
||||
return;
|
||||
|
@ -75,7 +75,7 @@ public:
|
||||
int FoodLevel;
|
||||
double Saturation;
|
||||
|
||||
FoodInfo(int a_FoodLevel, double a_Saturation, int a_PoisonChance = 0) :
|
||||
FoodInfo(int a_FoodLevel, double a_Saturation) :
|
||||
FoodLevel(a_FoodLevel),
|
||||
Saturation(a_Saturation)
|
||||
{
|
||||
|
@ -615,7 +615,6 @@ void cNBTChunkSerializer::AddProjectileEntity(cProjectileEntity * a_Projectile)
|
||||
{
|
||||
m_Writer.BeginCompound("");
|
||||
AddBasicEntity(a_Projectile, a_Projectile->GetMCAClassName());
|
||||
Vector3d Pos = a_Projectile->GetPosition();
|
||||
m_Writer.AddByte("inGround", a_Projectile->IsInGround() ? 1 : 0);
|
||||
|
||||
switch (a_Projectile->GetProjectileKind())
|
||||
|
Loading…
Reference in New Issue
Block a user