summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-11-08 23:34:52 +0100
committerworktycho <work.tycho@gmail.com>2015-11-08 23:34:52 +0100
commit171867009ef6759ca746745a9d18d833264eb6f1 (patch)
tree5de9f6935ee8e0b47de13f9802ddc01f589f0da3 /src/BlockEntities
parentMerge pull request #2615 from Gargaj/cavespider-attack (diff)
downloadcuberite-171867009ef6759ca746745a9d18d833264eb6f1.tar
cuberite-171867009ef6759ca746745a9d18d833264eb6f1.tar.gz
cuberite-171867009ef6759ca746745a9d18d833264eb6f1.tar.bz2
cuberite-171867009ef6759ca746745a9d18d833264eb6f1.tar.lz
cuberite-171867009ef6759ca746745a9d18d833264eb6f1.tar.xz
cuberite-171867009ef6759ca746745a9d18d833264eb6f1.tar.zst
cuberite-171867009ef6759ca746745a9d18d833264eb6f1.zip
Diffstat (limited to 'src/BlockEntities')
-rw-r--r--src/BlockEntities/BrewingstandEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/BrewingstandEntity.cpp b/src/BlockEntities/BrewingstandEntity.cpp
index e34297393..38403a59c 100644
--- a/src/BlockEntities/BrewingstandEntity.cpp
+++ b/src/BlockEntities/BrewingstandEntity.cpp
@@ -29,7 +29,7 @@ cBrewingstandEntity::cBrewingstandEntity(int a_BlockX, int a_BlockY, int a_Block
m_Contents.AddListener(*this);
for (int i = 0; i < 3; i++)
{
- m_Results[i] = *(new cItem());
+ m_Results[i] = cItem{};
}
}