mirror of
https://github.com/MilkBowl/Vault.git
synced 2025-01-29 11:31:34 +01:00
readme fix
This commit is contained in:
parent
a6535606db
commit
e4220058a9
@ -186,7 +186,7 @@ public class ExamplePlugin extends JavaPlugin {
|
||||
return true;
|
||||
} else if(command.getLabel().equals("test-permission")) {
|
||||
// Lets test if user has the node "example.plugin.awesome" to determine if they are awesome or just suck
|
||||
if(perms.hasPermission(player, "example.plugin.awesome", false)) {
|
||||
if(perms.hasPermission(player, "example.plugin.awesome")) {
|
||||
sender.sendMessage("You are awesome!");
|
||||
} else {
|
||||
sender.sendMessage("You suck!");
|
||||
|
Loading…
Reference in New Issue
Block a user