ChestShop-3/com/Acrobot/ChestShop/Items/Odd.java
Acrobot 4440101a3a - Added support for OddItem 0.8
- Fixed getRetractBlock
2011-09-25 16:17:44 +02:00

24 lines
497 B
Java

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;
public static boolean isInitialized() {
return isInitialized;
}
public static ItemStack returnItemStack(String name) {
try {
return OddItem.getItemStack(name);
} catch (Exception ignored) {
return null;
}
}
}