mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-09-27 14:53:01 +02:00
Merge pull request #32 from creatorfromhell/patch-1
Update example in README.md
This commit is contained in:
commit
3d7d2de1d1
18
README.md
18
README.md
@ -73,9 +73,9 @@ import org.bukkit.plugin.java.JavaPlugin;
|
||||
public class ExamplePlugin extends JavaPlugin {
|
||||
|
||||
private static final Logger log = Logger.getLogger("Minecraft");
|
||||
public static Economy econ = null;
|
||||
public static Permission perms = null;
|
||||
public static Chat chat = null;
|
||||
private static Economy econ = null;
|
||||
private static Permission perms = null;
|
||||
private static Chat chat = null;
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
@ -147,5 +147,17 @@ public class ExamplePlugin extends JavaPlugin {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public static Economy getEcononomy() {
|
||||
return econ;
|
||||
}
|
||||
|
||||
public static Permission getPermissions() {
|
||||
return perms;
|
||||
}
|
||||
|
||||
public static Chat getChat() {
|
||||
return chat;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user