forked from Kolyah35/minecraft-pe-0.6.1
16 lines
368 B
C++
Executable File
16 lines
368 B
C++
Executable File
#include "WorkbenchScreen.h"
|
|
#include "CraftingFilters.h"
|
|
#include "../../../../world/level/material/Material.h"
|
|
|
|
WorkbenchScreen::WorkbenchScreen(int craftingSize)
|
|
: super(craftingSize)
|
|
{
|
|
}
|
|
|
|
WorkbenchScreen::~WorkbenchScreen() {
|
|
}
|
|
|
|
bool WorkbenchScreen::filterRecipe(const Recipe& r) {
|
|
return !CraftingFilters::isStonecutterItem(r.getResultItem());
|
|
}
|