mirror of
https://bitbucket.org/HeshamTB/greet.git
synced 2024-12-24 18:45:05 +01:00
version bump. minor TODO
This commit is contained in:
parent
c4fa7db950
commit
7f805e19a5
@ -1,5 +1,5 @@
|
||||
name: greet
|
||||
version: 0.3
|
||||
version: 0.5
|
||||
main: i.hesh.greet.commands
|
||||
author: Don
|
||||
|
||||
|
@ -57,6 +57,8 @@ public class events implements Listener {
|
||||
}
|
||||
@EventHandler
|
||||
public void player(PlayerItemConsumeEvent e) {e.getPlayer().sendMessage(ChatColor.BOLD+"nom nom nom!");}
|
||||
|
||||
//TODO: Not working
|
||||
public void player(PlayerToggleFlightEvent e) {
|
||||
//if (e.getPlayer().isOp())
|
||||
e.getPlayer().kickPlayer("ooops!. \n Dont cheat");
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user