mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Remove DSTACK support (#6346)
Debugstacks is not useful, we don't really use it, the DebugStack is not pertinent, gdb and lldb are better if we really want to debug.
This commit is contained in:
@@ -57,9 +57,7 @@ ItemStack::ItemStack(const std::string &name_, u16 count_,
|
||||
|
||||
void ItemStack::serialize(std::ostream &os) const
|
||||
{
|
||||
DSTACK(FUNCTION_NAME);
|
||||
|
||||
if(empty())
|
||||
if (empty())
|
||||
return;
|
||||
|
||||
// Check how many parts of the itemstring are needed
|
||||
@@ -84,8 +82,6 @@ void ItemStack::serialize(std::ostream &os) const
|
||||
|
||||
void ItemStack::deSerialize(std::istream &is, IItemDefManager *itemdef)
|
||||
{
|
||||
DSTACK(FUNCTION_NAME);
|
||||
|
||||
clear();
|
||||
|
||||
// Read name
|
||||
|
Reference in New Issue
Block a user