Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int id = MySQL.executeBlob("INSERT INTO `dungeons`(`id`, `worldname`, `spawn`, `map`) VALUES (0,'" + worldName + "','" + spawn + "',?)", dungeonMap.toByteStream());
- MySQL.execute("INSERT INTO `commands`(`recipient`, `command`) VALUES ('play','loaddungeon " + id + "')");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement