mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-08 07:04:47 +00:00
refactor: expand AUTO_VAR macro
This commit is contained in:
@@ -44,7 +44,7 @@ void BrewingStandMenu::broadcastChanges() {
|
||||
AbstractContainerMenu::broadcastChanges();
|
||||
|
||||
// for (int i = 0; i < containerListeners->size(); i++)
|
||||
for (AUTO_VAR(it, containerListeners.begin());
|
||||
for (auto it = containerListeners.begin();
|
||||
it != containerListeners.end(); ++it) {
|
||||
ContainerListener* listener = *it; // containerListeners.at(i);
|
||||
if (tc != brewingStand->getBrewTime()) {
|
||||
|
||||
Reference in New Issue
Block a user