Removed achievement on the cake command as there is no similar advancement that seems to fit. Resolves #2121

This commit is contained in:
Ryan Wild 2018-05-20 17:27:40 +01:00
parent 1d363e8fc1
commit f135377052
2 changed files with 3 additions and 4 deletions

View file

@ -14,5 +14,6 @@
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<netbeans.checkstyle.format>true</netbeans.checkstyle.format>
<netbeans.hint.jdkPlatform>JDK_1.8</netbeans.hint.jdkPlatform>
</properties>
</project-shared-configuration>

View file

@ -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;
}
}
}