1
0
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:
HeshamTB 2018-06-18 13:09:33 +03:00
parent c4fa7db950
commit 7f805e19a5
3 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
name: greet
version: 0.3
version: 0.5
main: i.hesh.greet.commands
author: Don

View File

@ -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");