mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-23 22:13:37 +00:00
19 lines
537 B
C++
19 lines
537 B
C++
#include "../Platform/stdafx.h"
|
|
#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,
|
|
std::shared_ptr<ItemInstance> item) {
|
|
return true;
|
|
} |