Skip to content

Commit 93f85c9

Browse files
Copilotptthanh02
andcommitted
Fix compilation error: use getGuiItemLoreAsList instead of getGuiItemLoreList
Co-authored-by: ptthanh02 <73684260+ptthanh02@users.noreply.github.com>
1 parent d50469c commit 93f85c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/github/nighter/smartspawner/spawner/gui/main/SpawnerMenuFormUI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ private Map<String, String> createContentPlaceholders(Player player, SpawnerData
218218

219219
private void addConfiguredSection(StringBuilder content, String sectionName, Map<String, String> placeholders) {
220220
// Use the GUI item lore method which can access configuration
221-
List<String> sectionLines = languageManager.getGuiItemLoreList("bedrock_gui.info_content.sections." + sectionName, placeholders);
221+
List<String> sectionLines = languageManager.getGuiItemLoreAsList("bedrock_gui.info_content.sections." + sectionName, placeholders);
222222

223223
// If the configuration key doesn't exist, add default content
224224
if (sectionLines.isEmpty()) {

0 commit comments

Comments
 (0)