mirror of
https://github.com/DrPerkyLegit/LCEServerTest.git
synced 2026-08-10 12:01:18 +00:00
removed git history
This commit is contained in:
19
Minecraft.World/RepairContainer.cpp
Normal file
19
Minecraft.World/RepairContainer.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "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, shared_ptr<ItemInstance> item)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user