SigMinecraft/BankEconomyMod/src/me/kaZep/Base/ReviveInventory.java

25 lines
681 B
Java
Raw Normal View History

2013-11-01 23:28:39 -07:00
package me.kaZep.Base;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
public class ReviveInventory {
public ItemStack[] mainInventory;
public ItemStack[] armorInventory;
public float expamt;
public float explv;
public long dropTime;
public Player p;
public Location deathLocation;
public ReviveInventory(Player p) {
mainInventory = p.getInventory().getContents();
armorInventory = p.getInventory().getArmorContents();
expamt = p.getExp();
explv = p.getLevel();
dropTime = Bukkit.getWorld("world").getFullTime()+12000;
deathLocation = p.getLocation();
}
}