Player ignite

Discussion in 'Plugin Development' started by Megolas, Jul 23, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Megolas

    Hello,
    Is there a way to determine the cause of a player ignition? I know there .getCause() in the blockignite event, but i couldnt find documentation about a player ignite...
     
  2. Offline

    lx3krypticx

    .setFireTicks(arg0)
     
  3. Offline

    Laloth

    So it would be

    } else if (cmd.getName().equalsIgnoreCase("fire")) {
    if (args.length == 1) {
    Player user = player.getServer().getPlayer(args[0]);
    player.setFireTicks(100);
    if (user == null) {
    player.sendMessage(ChatColor.RED + "Invalid Player");
    }
     
  4. Offline

    lx3krypticx

  5. Offline

    Megolas

    What does that have to do with my question? SetFireTicks isn't solving anything here...
     
Thread Status:
Not open for further replies.

Share This Page