diff --git a/ERCoupons/pom.xml b/ERCoupons/pom.xml
index d04c6f8..139b9b9 100644
--- a/ERCoupons/pom.xml
+++ b/ERCoupons/pom.xml
@@ -1,72 +1,72 @@
-
- 4.0.0
-
- cx.sfy
- templateplugin
- 0.1
- jar
-
- TemplatePlugin
- http://maven.apache.org
-
-
- UTF-8
- Template Plugin Description
-
-
-
- ${project.name}
- target
- src
-
-
- resources
- true
-
- *
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 2.3.2
-
-
- 1.8
-
-
-
-
-
-
-
- spigot-repo
- https://hub.spigotmc.org/nexus/content/repositories/snapshots/
-
-
- mikeprimm-repo
- http://repo.mikeprimm.com/
-
-
-
-
-
- org.spigotmc
- spigot-api
-
- 1.12.2-R0.1-SNAPSHOT
- provided
-
-
- com.mojang
- authlib
- 1.5.13
- provided
-
-
-
+
+ 4.0.0
+
+ com.entryrise
+ coupons
+ 0.1
+ jar
+
+ ERCoupons
+ http://maven.apache.org
+
+
+ UTF-8
+ EntryRise coupon tool
+
+
+
+ ${project.name}
+ target
+ src
+
+
+ resources
+ true
+
+ *
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 2.3.2
+
+
+ 1.8
+
+
+
+
+
+
+
+ spigot-repo
+ https://hub.spigotmc.org/nexus/content/repositories/snapshots/
+
+
+ mikeprimm-repo
+ http://repo.mikeprimm.com/
+
+
+
+
+
+ org.spigotmc
+ spigot-api
+
+ 1.8.8-R0.1-SNAPSHOT
+ provided
+
+
+ com.mojang
+ authlib
+ 1.5.13
+ provided
+
+
+
diff --git a/ERCoupons/src/com/entryrise/coupons/mineutils/HeadUtils.java b/ERCoupons/src/com/entryrise/coupons/mineutils/HeadUtils.java
index a7749f0..2b377a8 100644
--- a/ERCoupons/src/com/entryrise/coupons/mineutils/HeadUtils.java
+++ b/ERCoupons/src/com/entryrise/coupons/mineutils/HeadUtils.java
@@ -1,63 +1,62 @@
-package com.entryrise.coupons.mineutils;
-
-import java.lang.reflect.Field;
-import java.util.Base64;
-import java.util.UUID;
-
-import org.bukkit.Material;
-import org.bukkit.inventory.ItemStack;
-import org.bukkit.inventory.meta.ItemMeta;
-import org.bukkit.inventory.meta.SkullMeta;
-
-import com.mojang.authlib.GameProfile;
-import com.mojang.authlib.properties.Property;
-
-public class HeadUtils {
-
- public static ItemStack getSkull(String skinURL) {
- ItemStack head = getSkullItem();
- if(skinURL.isEmpty())return head;
-
-
- ItemMeta headMeta = head.getItemMeta();
- GameProfile profile = new GameProfile(UUID.randomUUID(), null);
- byte[] encodedData = Base64.getEncoder().encode(String.format("{textures:{SKIN:{url:\"%s\"}}}", skinURL).getBytes());
- profile.getProperties().put("textures", new Property("textures", new String(encodedData)));
- Field profileField = null;
- try {
- profileField = headMeta.getClass().getDeclaredField("profile");
- } catch (NoSuchFieldException | SecurityException e) {
- e.printStackTrace();
- }
- profileField.setAccessible(true);
- try {
- profileField.set(headMeta, profile);
- } catch (IllegalArgumentException | IllegalAccessException e) {
- e.printStackTrace();
- }
- head.setItemMeta(headMeta);
- return head;
- }
-
- @SuppressWarnings("deprecation")
- public static ItemStack getPlayerSkull(String username) {
- ItemStack head = getSkullItem();
- ItemMeta imeta = head.getItemMeta();
-
- SkullMeta smeta = (SkullMeta) imeta;
-
- smeta.setOwner(username);
- head.setItemMeta(smeta);
- return head;
- }
-
- public static Material getSkull() {
- Material mat = Material.getMaterial("SKULL_ITEM");
-
- return (mat != null) ? mat : Material.getMaterial("PLAYER_HEAD");
- }
-
- public static ItemStack getSkullItem() {
- return new ItemStack(getSkull(), 1, (short) 3);
- }
-}
+package com.entryrise.coupons.mineutils;
+
+import java.lang.reflect.Field;
+import java.util.Base64;
+import java.util.UUID;
+
+import org.bukkit.Material;
+import org.bukkit.inventory.ItemStack;
+import org.bukkit.inventory.meta.ItemMeta;
+import org.bukkit.inventory.meta.SkullMeta;
+
+import com.mojang.authlib.GameProfile;
+import com.mojang.authlib.properties.Property;
+
+public class HeadUtils {
+
+ public static ItemStack getSkull(String skinURL) {
+ ItemStack head = getSkullItem();
+ if(skinURL.isEmpty())return head;
+
+
+ ItemMeta headMeta = head.getItemMeta();
+ GameProfile profile = new GameProfile(UUID.randomUUID(), null);
+ byte[] encodedData = Base64.getEncoder().encode(String.format("{textures:{SKIN:{url:\"%s\"}}}", skinURL).getBytes());
+ profile.getProperties().put("textures", new Property("textures", new String(encodedData)));
+ Field profileField = null;
+ try {
+ profileField = headMeta.getClass().getDeclaredField("profile");
+ } catch (NoSuchFieldException | SecurityException e) {
+ e.printStackTrace();
+ }
+ profileField.setAccessible(true);
+ try {
+ profileField.set(headMeta, profile);
+ } catch (IllegalArgumentException | IllegalAccessException e) {
+ e.printStackTrace();
+ }
+ head.setItemMeta(headMeta);
+ return head;
+ }
+
+ public static ItemStack getPlayerSkull(String username) {
+ ItemStack head = getSkullItem();
+ ItemMeta imeta = head.getItemMeta();
+
+ SkullMeta smeta = (SkullMeta) imeta;
+
+ smeta.setOwner(username);
+ head.setItemMeta(smeta);
+ return head;
+ }
+
+ public static Material getSkull() {
+ Material mat = Material.getMaterial("SKULL_ITEM");
+
+ return (mat != null) ? mat : Material.getMaterial("PLAYER_HEAD");
+ }
+
+ public static ItemStack getSkullItem() {
+ return new ItemStack(getSkull(), 1, (short) 3);
+ }
+}