25 lines
681 B
Java
25 lines
681 B
Java
|
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();
|
||
|
}
|
||
|
}
|