mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-30 20:29:18 +00:00
feature: add gui editing to string lists
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package net.islandearth.rpgregions.rewards;
|
||||
|
||||
import net.islandearth.rpgregions.api.IRPGRegionsAPI;
|
||||
import net.islandearth.rpgregions.gui.GuiEditable;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -12,6 +14,7 @@ import java.util.List;
|
||||
*/
|
||||
public class MessageReward extends DiscoveryReward {
|
||||
|
||||
@GuiEditable(value = "Messages", type = GuiEditable.GuiEditableType.CHAT, icon = Material.PAPER)
|
||||
private final List<String> messages;
|
||||
|
||||
public MessageReward(IRPGRegionsAPI api) {
|
||||
|
||||
Reference in New Issue
Block a user