public class Check extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
errorIfFalse(boolean condition,
String message)
If check is false, send error message.
|
static boolean |
isTrue(boolean condition,
String message)
If check is false, send message.
|
static boolean |
isTrue(boolean condition,
String message,
com.djrapitops.plugin.command.ISender sender)
If check is false, send message to sender.
|
public static boolean isTrue(boolean condition, String message)
condition
- Condition.message
- Message to send if Condition is falsepublic static boolean isTrue(boolean condition, String message, com.djrapitops.plugin.command.ISender sender)
condition
- Condition.message
- Message to send if Condition is falsesender
- Sender to send message topublic static boolean errorIfFalse(boolean condition, String message)
condition
- Condition.message
- Message to send if Condition is falseCopyright © 2017. All rights reserved.