Update readme

Remove onEnable method
This commit is contained in:
jimmy1248 2014-03-29 16:01:09 +13:00
parent 404860e8bb
commit 454b0d717f
2 changed files with 11 additions and 7 deletions

View File

@ -16,6 +16,10 @@ Usage
Sets spawn location.
/bed
Teleports player to their bed
Permissions
-----------
@ -31,6 +35,12 @@ Permissions
works if opped
/bed
easyspawn.bed
by default this works for non-opped players
Source code be found
[here](https://github.com/jimmy1248/EasySpawn)
on github.

View File

@ -6,13 +6,7 @@ import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
public class EasySpawn extends JavaPlugin{
@Override
public void onEnable() {
getCommand("spawn").setExecutor(this);
getCommand("setspawn").setExecutor(this);
getCommand("bed").setExecutor(this);
}
@Override
public boolean onCommand(CommandSender sender, Command command,
String label, String[] args) {