LuckPerms

LuckPerms

41.4k Downloads

Respect prefix option set in subject

Rob5Underscores-zz opened this issue ยท 0 comments

commented

Spoke with @lucko regarding this and he said that it was to do with LuckPerms not using options for prefixes. Can't say more than that. Trying to set as below:
commandSource.getSubjectData().setOption(new HashSet<>(), "prefix", selectedPrefix);

The above code has the effect of clearing the prefix/suffix of the user when used with LP but worked fine on PEX.

Thanks