mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-14 00:36:12 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -2,17 +2,12 @@
|
||||
#include "../Headers/net.minecraft.world.inventory.h"
|
||||
#include "EnchantmentContainer.h"
|
||||
|
||||
EnchantmentContainer::EnchantmentContainer(EnchantmentMenu *menu) : SimpleContainer(IDS_ENCHANT, 1), m_menu( menu )
|
||||
{
|
||||
}
|
||||
EnchantmentContainer::EnchantmentContainer(EnchantmentMenu* menu)
|
||||
: SimpleContainer(IDS_ENCHANT, 1), m_menu(menu) {}
|
||||
|
||||
int EnchantmentContainer::getMaxStackSize()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
int EnchantmentContainer::getMaxStackSize() { return 1; }
|
||||
|
||||
void EnchantmentContainer::setChanged()
|
||||
{
|
||||
SimpleContainer::setChanged();
|
||||
m_menu->slotsChanged(); // Remove this param as it's not needed
|
||||
void EnchantmentContainer::setChanged() {
|
||||
SimpleContainer::setChanged();
|
||||
m_menu->slotsChanged(); // Remove this param as it's not needed
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user