Capitalised enums to match conventions
This commit is contained in:
@@ -482,7 +482,7 @@ public final class Registration
|
||||
// whitelist from config
|
||||
for( final int dimension : AEConfig.instance.meteoriteDimensionWhitelist )
|
||||
{
|
||||
registries.worldgen().enableWorldGenForDimension( WorldGenType.Meteorites, dimension );
|
||||
registries.worldgen().enableWorldGenForDimension( WorldGenType.METEORITES, dimension );
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -50,11 +50,11 @@ public final class LocatableRegistry implements ILocatableRegistry
|
||||
return; // IGNORE!
|
||||
}
|
||||
|
||||
if( e.change == LocatableEvent.Register )
|
||||
if( e.change == LocatableEvent.REGISTER )
|
||||
{
|
||||
this.set.put( e.target.getLocatableSerial(), e.target );
|
||||
}
|
||||
else if( e.change == LocatableEvent.Unregister )
|
||||
else if( e.change == LocatableEvent.UNREGISTER )
|
||||
{
|
||||
this.set.remove( e.target.getLocatableSerial() );
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@ public final class WorldGenRegistry implements IWorldGen
|
||||
return false;
|
||||
}
|
||||
|
||||
if( !isGoodDimension && type == WorldGenType.Meteorites )
|
||||
if( !isGoodDimension && type == WorldGenType.METEORITES )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -23,6 +23,6 @@ public class InscriberInscribeRecipe extends InscriberRecipe
|
||||
{
|
||||
public InscriberInscribeRecipe( @Nonnull final Collection<ItemStack> inputs, @Nonnull final ItemStack output, @Nullable final ItemStack top, @Nullable final ItemStack bot )
|
||||
{
|
||||
super( inputs, output, top, bot, InscriberProcessType.Inscribe );
|
||||
super( inputs, output, top, bot, InscriberProcessType.INSCRIBE );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ public enum Achievements
|
||||
|
||||
Achievements( final int x, final int y, final AEColoredItemDefinition which, final AchievementType type )
|
||||
{
|
||||
this.stack = ( which != null ) ? which.stack( AEColor.Transparent, 1 ) : null;
|
||||
this.stack = ( which != null ) ? which.stack( AEColor.TRANSPARENT, 1 ) : null;
|
||||
this.type = type;
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
|
||||
Reference in New Issue
Block a user