@@ -0,0 +1,1521 @@
+package me.ssscrazy.snowball;%0A%0Aimport java.util.HashMap;%0A%0Aimport org.bukkit.entity.Player;%0Aimport org.bukkit.inventory.Inventory;%0Aimport org.bukkit.inventory.ItemStack;%0A%0Apublic class SaveInventory %7B%0A%09private HashMap%3CString, ItemStack%3E originalInventory = new HashMap%3CString, ItemStack%3E();%0A%09private Player p;%0A%09public SaveInventory(Player player) %7B%0A%09%09p = player;%0A%09%09Inventory inventory = player.getInventory();%0A%0A%09%09for (int i = 0; i %3C inventory.getSize(); i++) %7B%0A%09%09%09ItemStack item = inventory.getItem(i);%0A%09%09%09if(item != null)%0A%09%09%09originalInventory.put(%22s%22 + i, item.clone());%0A%09%09%7D%0A%09%09if(player.getInventory().getHelmet() != null)%0A%09%09%09originalInventory.put(%22Helmet%22, player.getInventory().getHelmet().clone());%0A%09%09if(player.getInventory().getChestplate() != null)%0A%09%09%09originalInventory.put(%22Chestplate%22, player.getInventory().getChestplate().clone());%0A%09%09if(player.getInventory().getLeggings() != null)%0A%09%09%09originalInventory.put(%22Leggings%22, player.getInventory().getLeggings().clone());%0A%09%09if(player.getInventory().getBoots() != null)%0A%09%09%09originalInventory.put(%22Boots%22, player.getInventory().getBoots().clone());%0A%09%09%0A%09%09%0A%09%7D%0A%09public void Load() %7B%0A%09%09for (int i = 0; i %3C p.getInventory().getSize(); i++)  %7B%0A%09%09%09p.getInventory().setItem(i, originalInventory.get(%22s%22 + i));%0A%09%09%7D%0A%09%09p.getInventory().setHelmet(originalInventory.get(%22Helmet%22));%0A%09%09p.getInventory().setChestplate(originalInventory.get(%22Chestplate%22));%0A%09%09p.getInventory().setLeggings(originalInventory.get(%22Leggings%22));%0A%09%09p.getInventory().setBoots(originalInventory.get(%22Boots%22));%0A%09%7D%0A%7D%0A

Create SaveInventory.java