Closed mosemister closed 3 years ago
https://github.com/Trespo/WitherPoop/blob/6ef6522057736f38322a035f8a98af07aa53f0b9/src/me/trespo/witherpoop/commands/WitherPoopCommand.java#L43
Here you are checking permissions, then returning true if the player has permission.
The else statement on that if permission check is useless as you are returning within the if statement. Makes your code cleaner :)
https://github.com/Trespo/WitherPoop/blob/6ef6522057736f38322a035f8a98af07aa53f0b9/src/me/trespo/witherpoop/commands/WitherPoopCommand.java#L43
Here you are checking permissions, then returning true if the player has permission.
The else statement on that if permission check is useless as you are returning within the if statement. Makes your code cleaner :)