mirror of
https://gitea.murdle.top/murdle/mc-lce.git
synced 2026-03-10 19:19:01 +02:00
18 lines
393 B
C++
18 lines
393 B
C++
#include "stdafx.h"
|
|
#include "net.minecraft.stats.h"
|
|
#include "GeneralStat.h"
|
|
|
|
GeneralStat::GeneralStat(int id, const wstring& name, StatFormatter *formatter) : Stat(id, name, formatter)
|
|
{
|
|
}
|
|
|
|
GeneralStat::GeneralStat(int id, const wstring& name) : Stat(id, name)
|
|
{
|
|
}
|
|
|
|
Stat *GeneralStat::postConstruct()
|
|
{
|
|
Stat::postConstruct();
|
|
Stats::generalStats->push_back(this);
|
|
return this;
|
|
} |