Add addCustomDisguise to DisguiseConfig to easily register own custom disguises
This commit is contained in:
@@ -1213,7 +1213,10 @@ public class DisguiseUtilities {
|
||||
return;
|
||||
}
|
||||
|
||||
if (LibsPremium.getPaidInformation() != null && !LibsPremium.getPaidInformation().isLegit()) {
|
||||
if ((LibsPremium.getPluginInformation() != null && LibsPremium.getPluginInformation().isPremium() &&
|
||||
!LibsPremium.getPluginInformation().isLegit()) ||
|
||||
(LibsPremium.getPaidInformation() != null && LibsPremium.getPaidInformation().isLegit() &&
|
||||
!LibsPremium.getPaidInformation().isLegit())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -15,4 +15,16 @@ public class DisguiseParseException extends Exception {
|
||||
public DisguiseParseException(LibsMsg message, String... params) {
|
||||
super(message.get((Object[]) params));
|
||||
}
|
||||
|
||||
public DisguiseParseException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public DisguiseParseException(String message, Throwable throwable) {
|
||||
super(message, throwable);
|
||||
}
|
||||
|
||||
public DisguiseParseException(Throwable throwable) {
|
||||
super(throwable);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user