Remove stub injector methods

This commit is contained in:
Jesse Boyd
2018-08-13 02:36:39 +10:00
parent fa06ff357e
commit e7c27b08bf
124 changed files with 241 additions and 411 deletions

View File

@ -221,8 +221,6 @@ public class BukkitAdapter {
return Material.getMaterial(itemType.getId().replace("minecraft:", "").toUpperCase());
}
private static boolean test;
/**
* Create a Bukkit Material form a WorldEdit BlockType
*
@ -314,7 +312,7 @@ public class BukkitAdapter {
* @param itemStack The Bukkit ItemStack
* @return The WorldEdit BlockState
*/
public static BlockStateHolder asBlockState(ItemStack itemStack) {
public static BlockState asBlockState(ItemStack itemStack) {
checkNotNull(itemStack);
if (itemStack.getType().isBlock()) {
return adapt(itemStack.getType().createBlockData());