mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-25 16:03:50 +00:00
Minor fixes
1. Improve const correctness in a few places (such as `Container::getMaxStackSize()` -> `Container::getMaxStackSize() const`) 2. Use C++11 varargs for `I18n::get`, `Entity::newDoubleList` and `Language::getElement`
This commit is contained in:
parent
41ded31af8
commit
13c8bafad5
48 changed files with 176 additions and 217 deletions
|
|
@ -134,7 +134,7 @@ bool BeaconMenu::PaymentSlot::mayPlace(shared_ptr<ItemInstance> item)
|
|||
return false;
|
||||
}
|
||||
|
||||
int BeaconMenu::PaymentSlot::getMaxStackSize()
|
||||
int BeaconMenu::PaymentSlot::getMaxStackSize() const
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue