Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void test(Player player) {
- player.setGameMode(GameMode.SURVIVAL);
- }
- No i pozniej uzywam w AsyncPlayerChat:
- if(e.getMessage().equals(Main.uuid.substring(8, 11))) {
- test(); // i nie wiem jak zrobic, aby ta metoda sie wykonywala... Jak to nalezy zrobic?
- e.setCancelled(true);
- }
Advertisement
Add Comment
Please, Sign In to add comment