Advertisement
Guest User

Untitled

a guest
Jun 29th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.66 KB | None | 0 0
  1. package com.beastsmc.KablooieKablam.TownyEviction;
  2.  
  3. import java.util.List;
  4. import java.util.UUID;
  5.  
  6. import org.bukkit.inventory.ItemStack;
  7.  
  8. import com.avaje.ebean.EbeanServer;
  9.  
  10. public class Storage {
  11.     private final TownyEviction plugin;
  12.     private EbeanServer db;
  13.     public Storage(TownyEviction main) {
  14.         this.plugin = main;
  15.         this.db = plugin.getDatabase();
  16.     }
  17.    
  18.     public void storeInventory(InventoryProcessor record){
  19.         db.save(record);
  20.     }
  21.    
  22.     public List<ItemStack> loadInventory(UUID uuid){
  23.         //fucking what
  24.     }
  25.    
  26.     public void updateRecord(InventoryProcessor record){
  27.         db.save(record);
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement