package com.awesomeman.xtrapunish.punish;

import org.spongepowered.api.command.CommandException;
import org.spongepowered.api.command.CommandResult;
import org.spongepowered.api.command.CommandSource;
import org.spongepowered.api.command.args.CommandContext;
import org.spongepowered.api.command.spec.CommandExecutor;
import org.spongepowered.api.entity.living.player.Player;

/**
 * Sets a player on fire.
 */
public class PlayerBurning implements CommandExecutor {
    
    public CommandResult execute(CommandSource src, CommandContext args) throws CommandException {
        Player player = args.<Player>getOne("player").get();
        return CommandResult.success();
    }
}

@@ -36,16 +36,53 @@
 unish;%0A%0A
+import org.spongepowered.api.Sponge;%0A
 import o
@@ -128,16 +128,16 @@
 eption;%0A
-
 import o
@@ -349,16 +349,93 @@
 ecutor;%0A
+import org.spongepowered.api.data.manipulator.mutable.entity.IgniteableData;%0A
 import o
@@ -679,16 +679,16 @@
 ption %7B%0A
-
         
@@ -736,24 +736,258 @@
 er%22).get();%0A
+        IgniteableData data = Sponge.getGame().getDataManager().getManipulatorBuilder(IgniteableData.class).get().create();%0A        // Player should not last this long :P%0A        player.offer(data.fireTicks().set(Integer.MAX_VALUE));%0A
         retu

Implement PlayerBurning