mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-04 08:59:47 +01:00
Have permtest notify user if plugin isn't prem
This commit is contained in:
parent
fcd93ec704
commit
9f95cc04d2
@ -1,6 +1,7 @@
|
||||
package me.libraryaddict.disguise.commands.libsdisguises;
|
||||
|
||||
import me.libraryaddict.disguise.disguisetypes.DisguiseType;
|
||||
import me.libraryaddict.disguise.utilities.LibsPremium;
|
||||
import me.libraryaddict.disguise.utilities.parser.DisguisePerm;
|
||||
import me.libraryaddict.disguise.utilities.parser.DisguisePermissions;
|
||||
import me.libraryaddict.disguise.utilities.translations.LibsMsg;
|
||||
@ -27,6 +28,10 @@ public class LDPermTest implements LDCommand {
|
||||
|
||||
@Override
|
||||
public void onCommand(CommandSender sender, String[] args) {
|
||||
if (!LibsPremium.isPremium()) {
|
||||
sender.sendMessage(LibsMsg.LIBS_PERM_CHECK_NON_PREM.get());
|
||||
}
|
||||
|
||||
Permissible player;
|
||||
|
||||
if (args.length > 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user