ChestShop-3/com/Acrobot/ChestShop/Items/Odd.java

24 lines
497 B
Java
Raw Normal View History

2011-05-15 19:33:03 +02:00
package com.Acrobot.ChestShop.Items;
import info.somethingodd.bukkit.OddItem.OddItem;
import org.bukkit.inventory.ItemStack;
/**
* @author Acrobot
*/
public class Odd {
public static boolean isInitialized;
2011-05-29 13:25:25 +02:00
public static boolean isInitialized() {
return isInitialized;
}
2011-05-29 13:25:25 +02:00
public static ItemStack returnItemStack(String name) {
try {
return OddItem.getItemStack(name);
2011-05-29 13:25:25 +02:00
} catch (Exception ignored) {
return null;
}
}
}