mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-05-15 06:31:16 +00:00
Removed achievement on the cake command as there is no similar advancement that seems to fit. Resolves #2121
This commit is contained in:
parent
1d363e8fc1
commit
f135377052
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue