mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-12-19 06:47:33 +01:00
4440101a3a
- Fixed getRetractBlock
24 lines
497 B
Java
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;
|
|
}
|
|
}
|
|
}
|