RandomizedMinigames/src/main/java/de/ventority/randomizedminigames/util/PlayerBackup.java
jakob 0ff1523128 Refactored some Files
A bit of cleanup, not done tho
Minimal fixes for the plugin to work
2026-02-09 18:35:01 +01:00

43 lines
959 B
Java

package de.ventority.randomizedminigames.util;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.inventory.ItemStack;
public class PlayerBackup {
private final ItemStack[] inventory;
private final ItemStack[] armor;
private final float exp;
private final Location location;
private GameMode gamemode;
public PlayerBackup(ItemStack[] inventory, ItemStack[] armor, float exp, Location location, GameMode gamemode) {
this.inventory = inventory;
this.armor = armor;
this.exp = exp;
this.location = location;
this.gamemode = gamemode;
}
public ItemStack[] getInventory() {
return inventory;
}
public ItemStack[] getArmor() {
return armor;
}
public float getExp() {
return exp;
}
public Location getLocation() {
return location;
}
public GameMode getGamemode() {
return gamemode;
}
}