Typo IItemComparisionProvider
This commit is contained in:
parent
accc7f83c3
commit
5aab62405b
2 changed files with 7 additions and 7 deletions
|
@ -4,23 +4,23 @@ import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import appeng.api.features.IItemComparisionProvider;
|
import appeng.api.features.IItemComparisonProvider;
|
||||||
import appeng.api.features.IItemComparison;
|
import appeng.api.features.IItemComparison;
|
||||||
import appeng.api.features.ISpecialComparisonRegistry;
|
import appeng.api.features.ISpecialComparisonRegistry;
|
||||||
|
|
||||||
public class SpecialComparisonRegistry implements ISpecialComparisonRegistry
|
public class SpecialComparisonRegistry implements ISpecialComparisonRegistry
|
||||||
{
|
{
|
||||||
|
|
||||||
private List<IItemComparisionProvider> CompRegistry;
|
private List<IItemComparisonProvider> CompRegistry;
|
||||||
|
|
||||||
public SpecialComparisonRegistry() {
|
public SpecialComparisonRegistry() {
|
||||||
CompRegistry = new ArrayList<IItemComparisionProvider>();
|
CompRegistry = new ArrayList<IItemComparisonProvider>();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IItemComparison getSpecialComparion(ItemStack stack)
|
public IItemComparison getSpecialComparion(ItemStack stack)
|
||||||
{
|
{
|
||||||
for (IItemComparisionProvider i : CompRegistry)
|
for (IItemComparisonProvider i : CompRegistry)
|
||||||
{
|
{
|
||||||
IItemComparison comp = i.getComparison( stack );
|
IItemComparison comp = i.getComparison( stack );
|
||||||
if ( comp != null )
|
if ( comp != null )
|
||||||
|
@ -33,7 +33,7 @@ public class SpecialComparisonRegistry implements ISpecialComparisonRegistry
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addComparisonProvider(IItemComparisionProvider prov)
|
public void addComparisonProvider(IItemComparisonProvider prov)
|
||||||
{
|
{
|
||||||
CompRegistry.add( prov );
|
CompRegistry.add( prov );
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package appeng.integration.abstraction;
|
package appeng.integration.abstraction;
|
||||||
|
|
||||||
import appeng.api.features.IItemComparisionProvider;
|
import appeng.api.features.IItemComparisonProvider;
|
||||||
|
|
||||||
public interface IForestry
|
public interface IForestry
|
||||||
{
|
{
|
||||||
|
|
||||||
IItemComparisionProvider getGeneticsComparisonProvider();
|
IItemComparisonProvider getGeneticsComparisonProvider();
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue