Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Correct editor type for denyCommandsPermanentFactionMember #1310

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/com/massivecraft/factions/entity/MConf.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.massivecraft.massivecore.command.editor.annotation.EditorType;
import com.massivecraft.massivecore.command.editor.annotation.EditorTypeInner;
import com.massivecraft.massivecore.command.type.TypeMillisDiff;
import com.massivecraft.massivecore.command.type.TypeStringCommand;
import com.massivecraft.massivecore.store.Entity;
import com.massivecraft.massivecore.util.MUtil;
import com.massivecraft.massivecore.util.TimeUnit;
Expand Down Expand Up @@ -335,6 +336,7 @@ public MConf load(MConf that)

// A list of commands to block for members of permanent factions.
// I don't really understand the user case for this option.
@EditorTypeInner(TypeStringCommand.class)
public List<String> denyCommandsPermanentFactionMember = new ArrayList<>();

// Lists of commands to deny depending on your relation to the current faction territory.
Expand Down