Skip to content

Commit

Permalink
Fix universal bucket logging an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Feb 19, 2016
1 parent eb879b3 commit 9b128aa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,13 @@ protected ModelBlockDefinition getModelBlockDefinition(ResourceLocation location

private void loadItems()
{
registerVariantNames();

// register model for the universal bucket, if it exists
if(FluidRegistry.isUniversalBucketEnabled())
{
setBucketModelDefinition(ForgeModContainer.getInstance().universalBucket);
}

registerVariantNames();

List<String> itemVariants = Lists.newArrayList();
for(Item item : GameData.getItemRegistry().typeSafeIterable())
Expand Down

0 comments on commit 9b128aa

Please sign in to comment.