mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-02 20:45:28 +02:00
Improving Chimaera Wing - part 1
* Added cooldown between using Chimaera Wings * Added shapeless recipe to craft a Chimaera Wing (by default 5 feathers)
This commit is contained in:
@@ -48,6 +48,7 @@ import com.gmail.nossr50.skills.repair.Repairable;
|
||||
import com.gmail.nossr50.skills.repair.RepairableManager;
|
||||
import com.gmail.nossr50.skills.repair.RepairableManagerFactory;
|
||||
import com.gmail.nossr50.skills.repair.config.RepairConfigManager;
|
||||
import com.gmail.nossr50.util.ChimaeraWing;
|
||||
import com.gmail.nossr50.util.LogFilter;
|
||||
import com.gmail.nossr50.util.Permissions;
|
||||
import com.gmail.nossr50.util.UpdateChecker;
|
||||
@@ -114,6 +115,7 @@ public class mcMMO extends JavaPlugin {
|
||||
}
|
||||
|
||||
registerEvents();
|
||||
registerCustomRecipes();
|
||||
|
||||
// Setup the leader boards
|
||||
if (Config.getInstance().getUseMySQL()) {
|
||||
@@ -433,6 +435,12 @@ public class mcMMO extends JavaPlugin {
|
||||
CommandRegistrationManager.registerMchudCommand();
|
||||
}
|
||||
|
||||
private void registerCustomRecipes() {
|
||||
if (Config.getInstance().getChimaeraEnabled()) {
|
||||
getServer().addRecipe(ChimaeraWing.getChimaeraWingRecipe());
|
||||
}
|
||||
}
|
||||
|
||||
private void scheduleTasks() {
|
||||
BukkitScheduler scheduler = getServer().getScheduler();
|
||||
|
||||
|
Reference in New Issue
Block a user