diff options
Diffstat (limited to 'src/Entities/LeashKnot.cpp')
-rw-r--r-- | src/Entities/LeashKnot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/LeashKnot.cpp b/src/Entities/LeashKnot.cpp index 7ed4845b7..e98ca52ec 100644 --- a/src/Entities/LeashKnot.cpp +++ b/src/Entities/LeashKnot.cpp @@ -95,7 +95,7 @@ void cLeashKnot::GetDrops(cItems & a_Items, cEntity * a_Killer) { if ((a_Killer != nullptr) && a_Killer->IsPlayer() && !static_cast<cPlayer *>(a_Killer)->IsGameModeCreative()) { - a_Items.push_back(cItem(E_ITEM_LEASH)); + a_Items.emplace_back(E_ITEM_LEASH); } } |