From f135377052668855001cb355fbf4c3b5edb6f50e Mon Sep 17 00:00:00 2001 From: Ryan Wild Date: Sun, 20 May 2018 17:27:40 +0100 Subject: [PATCH] Removed achievement on the cake command as there is no similar advancement that seems to fit. Resolves #2121 --- nb-configuration.xml | 1 + .../totalfreedom/totalfreedommod/command/Command_cake.java | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/nb-configuration.xml b/nb-configuration.xml index 35e184b..c64a9a2 100644 --- a/nb-configuration.xml +++ b/nb-configuration.xml @@ -14,5 +14,6 @@ Any value defined here will override the pom.xml file value but is only applicable to the current project. --> true + JDK_1.8 diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_cake.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_cake.java index 0178ce1..9226adb 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_cake.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_cake.java @@ -3,7 +3,6 @@ package me.totalfreedom.totalfreedommod.command; import java.util.Random; import me.totalfreedom.totalfreedommod.rank.Rank; import me.totalfreedom.totalfreedommod.util.FUtil; -import org.bukkit.Achievement; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.command.Command; @@ -43,12 +42,11 @@ public class Command_cake extends FreedomCommand { player.getInventory().setItem(firstEmpty, heldItem); } - - player.awardAchievement(Achievement.BAKE_CAKE); + } FUtil.bcastMsg(output.toString()); return true; } -} +} \ No newline at end of file