Skip to content

Commit

Permalink
disabled debug messages. UUps
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMl committed Apr 11, 2016
1 parent cbff040 commit 381e091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/util/Potion/PotionLayer.java
Expand Up @@ -244,7 +244,7 @@ public int getLevel() {
*/
public ItemStack toItemStack(int amount) throws Exception {
ItemStack item = new ItemStack(Material.POTION, amount);
System.out.println("1.9? " + is19 + " " + Bukkit.getServer().getVersion());
// System.out.println("1.9? " + is19 + " " + Bukkit.getServer().getVersion());
if (!is19) {
org.bukkit.potion.PotionType bukkitPotionType = getType().getBukkitType();

Expand Down Expand Up @@ -301,7 +301,7 @@ public ItemStack toItemStack(int amount) throws Exception {
compoundSetString.invoke(nbtTagCompound, "Potion", "minecraft:" + tag);
stackSetTag.invoke(nmsStack, nbtTagCompound);
ItemStack stack = (ItemStack) asBukkitCopy.invoke(null, nmsStack);
System.out.println(stack);
// System.out.println(stack);
return stack;
// tagCompound.setString("Potion", "minecraft:" + tag);
// stack.setTag(tagCompound);
Expand Down

0 comments on commit 381e091

Please sign in to comment.