mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-26 12:44:36 +00:00
* Remove stdafx.h and some <unordered_set> includes * Update Minecraft Server Defines and remove more unused folders/files * Unbloat stdafx.h from Minecraft.World
18 lines
416 B
C++
18 lines
416 B
C++
#include "AnvilMenu.h"
|
|
#include "RepairContainer.h"
|
|
|
|
RepairContainer::RepairContainer(AnvilMenu *menu, int name, bool customName, int size) : SimpleContainer(name, L"", customName, size)
|
|
{
|
|
m_menu = menu;
|
|
}
|
|
|
|
void RepairContainer::setChanged()
|
|
{
|
|
SimpleContainer::setChanged();
|
|
m_menu->slotsChanged(shared_from_this());
|
|
}
|
|
|
|
bool RepairContainer::canPlaceItem(int slot, shared_ptr<ItemInstance> item)
|
|
{
|
|
return true;
|
|
} |