Capitalised enums to match conventions

This commit is contained in:
yueh
2016-09-17 15:02:51 +02:00
parent 2d1d29eb37
commit f185bc07a6
43 changed files with 105 additions and 98 deletions
@@ -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 );
}
}