add this.getServer().addRecipe("recipe"); to yours onEnable() and remove LoadRecipes() method i hope it will works fine good luck with your...
everyone loves him
thanks
How to check if is Block b stone or diamond? I tried: Block b = e.getBlock; if(b.equals(Material.STONE)) { // code } but i had unlikely args...
thanks if (Main.clazz.getConfig().getStringList("AllowedBlocks").contains(b.toString())) {} this works better EDIT by Moderator: merged posts,...
Hello, i wanted to cast from Config to Block by loop for but it didnt worked, see code for(Block bl : (Block)...
thanks worked, but i already registered (im not that dumb :D)
i was trying public void onJoin(PlayerJoinEvent e) { FileConfiguration cfg = Main.plugin.cfg.getCfg(); Player p = e.getPlayer();...
i don't want to be rude... but why you used "this" in static context ?
nah i just called it api idk why ah, ikr thx thx it got to be in onCommand method EDIT by Moderator: merged posts, please use the edit button...
wich api ?
like Main class ? package me.Watt.IT; import java.lang.annotation.Target; import java.util.UUID; import org.bukkit.Bukkit; import...
// imports are cuted of public class TargetDeath implements Listener { UUID uID = Main.plugin.uniqueID; // imports uniqueID of target...
Separate names with a comma.