mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-04 22:14:29 +00:00
refactor: decouple minecraft/ from app/ via IGameServices virtual interface
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "minecraft/GameServices.h"
|
||||
#include "minecraft/IGameServices.h"
|
||||
#include "AbstractContainerScreen.h"
|
||||
|
||||
#include <wchar.h>
|
||||
@@ -249,7 +249,7 @@ void AbstractContainerScreen::renderTooltip(std::shared_ptr<ItemInstance> item,
|
||||
}
|
||||
|
||||
if (!cleanedLines.empty()) {
|
||||
lineColors[0] = GameServices::getHTMLColour(item->getRarity()->color);
|
||||
lineColors[0] = gameServices().getHTMLColour(item->getRarity()->color);
|
||||
}
|
||||
|
||||
renderTooltipInternal(cleanedLines, lineColors, xm, ym);
|
||||
|
||||
Reference in New Issue
Block a user