Advertisement
Guest User

Untitled

a guest
Aug 28th, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1. public static void addSchematic(OfflinePlayer owner, String schematic ) {
  2.         UUID uuid = owner.getUniqueId();
  3.         try {
  4.             Main.database.update("INSERT INTO schematics ( `uuid`, `schematic` , `isWarGear` , `checked`) VALUES ( '" + uuid  + "', '" + schematic + "' , 1, 0)");
  5.         }
  6.         catch (SQLException ex) {
  7.             ex.printStackTrace();
  8.         }
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement