Added missing cast

Added missing cast to oldBlock.getType().getMetadata("layers") in
ItemInWorldComposite line 78.